API Reference > geometry-core > RangeSearch > Range2dSearchInterface 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 polyface/multiclip/Range2dSearchInterface.ts Line 16 Last Updated: 12 June, 2024