P
- Point implementation typeN
- BSP tree node implementation typepublic abstract static class BSPTreeVisitor.TargetPointVisitor<P extends Point<P>,N extends BSPTree.Node<P,N>> extends Object implements BSPTreeVisitor<P,N>
BSPTreeVisitor
implementations that base their visit
ordering on a target point.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>>
Modifier | Constructor and Description |
---|---|
protected |
TargetPointVisitor(P target)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
P |
getTarget()
Get the target point for the tree traversal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visitOrder
protected TargetPointVisitor(P target)
target
- the point serving as the target for the tree traversalCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.