searchRange2d Method

  • Search for ranges overlapping testRange
  • Pass each range and tag to handler
  • terminate search if handler returns false.

searchRange2d(testRange: LowAndHighXY, handler: (range: Range2d, tag: T) => boolean): boolean

Parameter Type Description
testRange LowAndHighXY 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.

Defined in

Last Updated: 13 June, 2024