BoundsIntersectionFilter¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/cag/BoundsIntersectionFilter.ts for the most up-to-date information.
Overview¶
Acceleration of pairwise intersection tests for anything bounds-related
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class BoundsIntersectionFilter¶
Static Methods¶
quadraticIntersect( maximumBounds : Bounds2, items : T[], callback : ( itemA: T, itemB: T ) => void )¶
sweepLineIntersect( maximumBounds : Bounds2, items : Item[], callback : ( itemA: Item, itemB: Item ) => void )¶
filterIntersect( maximumBounds : Bounds2, items : Item[], callback : ( itemA: Item, itemB: Item ) => void )¶
Source Code¶
See the source for BoundsIntersectionFilter.ts in the alpenglow repository.