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