searchXY Method
- Search for ranges containing testRange
- Pass each range and tag to handler
- terminate search if handler returns false.
searchXY(x: number, y: number, handler: (range: Range2d, tag: T) => boolean): boolean
@returns false if search terminated by handler. Return true if no handler returned false.
Parameter | Type | Description |
---|---|---|
x | number | |
y | number | |
handler | (range: Range2d, tag: T) => boolean | function to receive range and tag hits. |
Returns - boolean
false if search terminated by handler. Return true if no handler returned false.
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.