| Modifier and Type | Field and Description |
|---|---|
| private BSPTree | leaf
Leaf node closest to the test point. |
| private double | offset
Current offset. |
| private final Point | original
Original point. |
| private Point | projected
Current best projected point. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | addRegion(final SubHyperplane<S>
sub-hyperplane defining the region sub, final List<Region<T>> to fill up list)Add a boundary region to a list. |
| private boolean | Returns: true if point lies on the boundary partprojected point to check point, final Hyperplane<S> hyperplane into which the point was projected hyperplane, final Region<T> boundary part part)Check if a projected point lies on a boundary part. |
| private List | Returns: regions in the node sub-hyperplaneinternal node node)Extract the regions of the boundary on an internal node. |
| public BoundaryProjection | |
| private Point | Returns: projection to a singular point of boundary part (may be null)projected point to check point, final Hyperplane<S> hyperplane into which the point was projected hyperplane, final Region<T> boundary part part)Get the projection to the closest boundary singular point. |
| public void | visitInternalNode(final BSPTree<S>
BSP node guaranteed to have a non null cut sub-hyperplane node)Implements org. Visit a BSP tree node node having a non-null sub-hyperplane. |
| public void | visitLeafNode(final BSPTree<S>
leaf BSP node having a null sub-hyperplane node)Implements org. Visit a leaf BSP tree node node having a null sub-hyperplane. |
| public BSPTreeVisitor. | visitOrder(final BSPTree<S>
BSP node guaranteed to have a non null cut sub-hyperplane node)Implements org. Determine the visit order for this node. |
| leaf | back to summary |
|---|---|
| private BSPTree<S> leaf Leaf node closest to the test point. | |
| offset | back to summary |
|---|---|
| private double offset Current offset. | |
| original | back to summary |
|---|---|
| private final Point<S> original Original point. | |
| projected | back to summary |
|---|---|
| private Point<S> projected Current best projected point. | |
| BoundaryProjector | back to summary |
|---|---|
| pack-priv BoundaryProjector(final Point<S> original) Simple constructor.
| |
| addRegion | back to summary |
|---|---|
| private void addRegion(final SubHyperplane<S> sub, final List<Region<T>> list) Add a boundary region to a list.
| |
| belongsToPart | back to summary |
|---|---|
| private boolean belongsToPart(final Point<S> point, final Hyperplane<S> hyperplane, final Region<T> part) Check if a projected point lies on a boundary part.
| |
| boundaryRegions | back to summary |
|---|---|
| private List Extract the regions of the boundary on an internal node. | |
| getProjection | back to summary |
|---|---|
| public BoundaryProjection Get the projection.
| |
| singularProjection | back to summary |
|---|---|
| private Point Get the projection to the closest boundary singular point.
| |
| visitInternalNode | back to summary |
|---|---|
| public void visitInternalNode(final BSPTree<S> node) Implements org. Doc from org. Visit a BSP tree node node having a non-null sub-hyperplane. It is guaranteed that this method will be called after
| |
| visitLeafNode | back to summary |
|---|---|
| public void visitLeafNode(final BSPTree<S> node) Implements org. Doc from org. Visit a leaf BSP tree node node having a null sub-hyperplane.
| |
| visitOrder | back to summary |
|---|---|
| public BSPTreeVisitor. Implements org. Doc from org. Determine the visit order for this node. Before attempting to visit an internal node, this method is
called to determine the desired ordering of the visit. It is
guaranteed that this method will be called before
| |