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.

Last Updated: 30 November, 2023