Range2dSearchInterface<T> Interface

Interface for classes that can search with range optimizations.

Methods

Name Description
addRange(range: LowAndHighXY, tag: T): void Add a range to the search set.  
searchRange2d(testRange: LowAndHighXY, handler: (range: Range2d, tag: T) => boolean): boolean * Search for ranges overlapping testRange  
searchXY(x: number, y: number, handler: (range: Range2d, tag: T) => boolean): boolean * Search for ranges containing testRange  

Defined in

Last Updated: 13 June, 2024