Package toxi.geom
Interface QuadtreeVisitor
public interface QuadtreeVisitor
This interface is the core part of the visitor pattern application for
PointQuadtrees. It can be used to apply a procedure to all tree nodes
when passed to PointQuadtree#applyVisitor(QuadtreeVisitor).-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitNode(PointQuadtree node) Applies the procedure defined by an implementation of this interface to the given tree node.
-
Method Details
-
visitNode
Applies the procedure defined by an implementation of this interface to the given tree node.- Parameters:
node-
-