Class BoundaryProjector<S extends Space, T extends Space>

java.lang.Object
org.apache.commons.math3.geometry.partitioning.BoundaryProjector<S,T>
Type Parameters:
S - Type of the space.
T - Type of the sub-space.
All Implemented Interfaces:
BSPTreeVisitor<S>

class BoundaryProjector<S extends Space, T extends Space> extends Object implements BSPTreeVisitor<S>
Local tree visitor to compute projection on boundary.
Since:
3.3
  • Field Details

    • original

      private final Point<S extends Space> original
      Original point.
    • projected

      private Point<S extends Space> projected
      Current best projected point.
    • leaf

      private BSPTree<S extends Space> leaf
      Leaf node closest to the test point.
    • offset

      private double offset
      Current offset.
  • Constructor Details

    • BoundaryProjector

      BoundaryProjector(Point<S> original)
      Simple constructor.
      Parameters:
      original - original point
  • Method Details