Range2dSearchInterface<T> Interface

Interface for classes that can search with range optimizations.

Methods

Name Description
addRange(range: Readonly<WritableLowAndHighXY>, tag: T): void Add a range to the search set.  
searchRange2d(testRange: Readonly<WritableLowAndHighXY>, 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: 11 June, 2024