Class BSPTreeVisitor.TargetPointVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>
java.lang.Object
org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor.TargetPointVisitor<P,N>
- Type Parameters:
P
- Point implementation typeN
- BSP tree node implementation type
- All Implemented Interfaces:
BSPTreeVisitor<P,
N>
- Direct Known Subclasses:
BSPTreeVisitor.ClosestFirstVisitor
,BSPTreeVisitor.FarthestFirstVisitor
- Enclosing interface:
BSPTreeVisitor<P extends Point<P>,
N extends BSPTree.Node<P, N>>
public abstract static class BSPTreeVisitor.TargetPointVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>>
extends Object
implements BSPTreeVisitor<P,N>
Abstract class for
BSPTreeVisitor
implementations that base their visit
ordering on a target point.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor
BSPTreeVisitor.ClosestFirstVisitor<P extends Point<P>,
N extends BSPTree.Node<P, N>>, BSPTreeVisitor.FarthestFirstVisitor<P extends Point<P>, N extends BSPTree.Node<P, N>>, BSPTreeVisitor.Order, BSPTreeVisitor.Result, BSPTreeVisitor.TargetPointVisitor<P extends Point<P>, N extends BSPTree.Node<P, N>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.geometry.core.partitioning.bsp.BSPTreeVisitor
visit, visitOrder
-
Field Details
-
target
Point serving as the target of the traversal.
-
-
Constructor Details
-
TargetPointVisitor
Simple constructor.- Parameters:
target
- the point serving as the target for the tree traversal
-
-
Method Details
-
getTarget
Get the target point for the tree traversal.- Returns:
- the target point for the tree traversal
-