Skip to content

BoundsIntersectionFilter

Overview

Acceleration of pairwise intersection tests for anything bounds-related

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class BoundsIntersectionFilter

import { BoundsIntersectionFilter } from 'scenerystack/alpenglow';

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.