Uses of Interface
org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor
-
Packages that use BSPTreeVisitor Package Description org.apache.commons.geometry.core.partitioning.bsp This package contains classes related to Binary Space Partitioning (BSP) trees.org.apache.commons.geometry.euclidean.oned This package provides basic 1D geometry components.org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.euclidean.twod This package provides basic 2D geometry components.org.apache.commons.geometry.spherical.oned This package provides basic geometry components on the 1-sphere.org.apache.commons.geometry.spherical.twod This package provides basic geometry components on the 2-sphere. -
-
Uses of BSPTreeVisitor in org.apache.commons.geometry.core.partitioning.bsp
Classes in org.apache.commons.geometry.core.partitioning.bsp that implement BSPTreeVisitor Modifier and Type Class Description protected static class
AbstractRegionBSPTree.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.(package private) class
BSPTreePrinter<P extends Point<P>,N extends BSPTree.Node<P,N>>
Internal class for creating simple string representations of BSP trees.static class
BSPTreeVisitor.ClosestFirstVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>
BSPTreeVisitor
base class that orders tree nodes so that nodes closest to the target point are visited first.static class
BSPTreeVisitor.FarthestFirstVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>
BSPTreeVisitor
base class that orders tree nodes so that nodes farthest from the target point are traversed first.static class
BSPTreeVisitor.TargetPointVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>
Abstract class forBSPTreeVisitor
implementations that base their visit ordering on a target point.Methods in org.apache.commons.geometry.core.partitioning.bsp with parameters of type BSPTreeVisitor Modifier and Type Method Description void
AbstractBSPTree.AbstractNode. accept(BSPTreeVisitor<P,N> visitor)
Accept a visitor instance, calling it with each node from the subtree.protected void
AbstractBSPTree. accept(N node, BSPTreeVisitor<P,N> visitor)
Visit the nodes in a subtree.void
AbstractBSPTree. accept(BSPTreeVisitor<P,N> visitor)
Accept a visitor instance, calling it with each node from the subtree.void
BSPSubtree. accept(BSPTreeVisitor<P,N> visitor)
Accept a visitor instance, calling it with each node from the subtree.private boolean
AbstractBSPTree. acceptRecursive(N node, BSPTreeVisitor<P,N> visitor)
Recursively visit the nodes in the subtree rooted at the given node. -
Uses of BSPTreeVisitor in org.apache.commons.geometry.euclidean.oned
Classes in org.apache.commons.geometry.euclidean.oned that implement BSPTreeVisitor Modifier and Type Class Description private static class
RegionBSPTree1D.BoundaryProjector1D
Class used to project points onto the region boundary. -
Uses of BSPTreeVisitor in org.apache.commons.geometry.euclidean.threed
Classes in org.apache.commons.geometry.euclidean.threed that implement BSPTreeVisitor Modifier and Type Class Description private static class
RegionBSPTree3D.BoundaryProjector3D
Class used to project points onto the 3D region boundary.private static class
RegionBSPTree3D.LinecastVisitor
BSP tree visitor that performs a linecast operation against the boundaries of the visited tree.private static class
RegionBSPTree3D.RegionSizePropertiesVisitor
Visitor for computing geometric properties for 3D BSP tree instances. -
Uses of BSPTreeVisitor in org.apache.commons.geometry.euclidean.twod
Classes in org.apache.commons.geometry.euclidean.twod that implement BSPTreeVisitor Modifier and Type Class Description private static class
RegionBSPTree2D.BoundaryProjector2D
Class used to project points onto the 2D region boundary.private static class
RegionBSPTree2D.LinecastVisitor
BSP tree visitor that performs a linecast operation against the boundaries of the visited tree. -
Uses of BSPTreeVisitor in org.apache.commons.geometry.spherical.oned
Classes in org.apache.commons.geometry.spherical.oned that implement BSPTreeVisitor Modifier and Type Class Description private static class
RegionBSPTree1S.BoundaryProjector1S
Class used to project points onto the region boundary. -
Uses of BSPTreeVisitor in org.apache.commons.geometry.spherical.twod
Classes in org.apache.commons.geometry.spherical.twod that implement BSPTreeVisitor Modifier and Type Class Description private static class
RegionBSPTree2S.BoundaryProjector2S
Class used to project points onto the region boundary.
-