searchRange2d Method
- Search for ranges overlapping testRange
- Pass each range and tag to handler
- terminate search if handler returns false.
searchRange2d(testRange: Readonly<WritableLowAndHighXY>, handler: (range: Range2d, tag: T) => boolean): boolean
Parameter | Type | Description |
---|---|---|
testRange | Readonly<WritableLowAndHighXY> | search range. |
handler | (range: Range2d, tag: T) => boolean | function to receive range and tag hits. "true" means continue the search. |
Returns - boolean
false if any handler call returned false. Otherwise return true.
Last Updated: 30 November, 2023