Uses of Interface
org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor
Packages that use BSPTreeVisitor
Package
Description
This package contains classes related to Binary Space Partitioning (BSP) trees.
-
Uses of BSPTreeVisitor in org.apache.commons.geometry.core.partitioning.bsp
Classes in org.apache.commons.geometry.core.partitioning.bsp that implement BSPTreeVisitorModifier and TypeClassDescriptionprotected static classAbstractRegionBSPTree.BoundaryProjector<P extends Point<P>, N extends AbstractRegionBSPTree.AbstractRegionNode<P,N>> Class used to compute the point on the region's boundary that is closest to a target point.static classBSPTreeVisitor.ClosestFirstVisitor<P extends Point<P>, N extends BSPTree.Node<P,N>> BSPTreeVisitorbase class that orders tree nodes so that nodes closest to the target point are visited first.static classBSPTreeVisitor.FarthestFirstVisitor<P extends Point<P>, N extends BSPTree.Node<P,N>> BSPTreeVisitorbase class that orders tree nodes so that nodes farthest from the target point are traversed first.static classBSPTreeVisitor.TargetPointVisitor<P extends Point<P>, N extends BSPTree.Node<P,N>> Abstract class forBSPTreeVisitorimplementations that base their visit ordering on a target point.Methods in org.apache.commons.geometry.core.partitioning.bsp with parameters of type BSPTreeVisitorModifier and TypeMethodDescriptionvoidAbstractBSPTree.AbstractNode.accept(BSPTreeVisitor<P, N> visitor) Accept a visitor instance, calling it with each node from the subtree.protected voidAbstractBSPTree.accept(N node, BSPTreeVisitor<P, N> visitor) Visit the nodes in a subtree.voidAbstractBSPTree.accept(BSPTreeVisitor<P, N> visitor) Accept a visitor instance, calling it with each node from the subtree.voidBSPSubtree.accept(BSPTreeVisitor<P, N> visitor) Accept a visitor instance, calling it with each node from the subtree.