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

Parameter Type Description
x number  
y number  
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.

Defined in

Last Updated: 13 June, 2024