Package toxi.geom

Class PointQuadtree

java.lang.Object
toxi.geom.Rect
toxi.geom.PointQuadtree
All Implemented Interfaces:
Shape2D, SpatialIndex<Vec2D>

public class PointQuadtree extends Rect implements SpatialIndex<Vec2D>
Implements a spatial subdivision tree to work efficiently with large numbers of 2D particles. This quadtree can only be used for particle type objects and does NOT support 2D mesh geometry as other forms of quadtree might do. For further reference also see the QuadtreeDemo in the /examples folder.