Class NodesSet<S extends Space,P extends Point<S,P>,H extends Hyperplane<S,P,H,I>,I extends SubHyperplane<S,P,H,I>>

java.lang.Object
org.hipparchus.geometry.partitioning.NodesSet<S,P,H,I>
Type Parameters:
S - Type of the space.
P - Type of the points in space.
H - Type of the hyperplane.
I - Type of the sub-hyperplane.
All Implemented Interfaces:
Iterable<BSPTree<S,P,H,I>>

public class NodesSet<S extends Space,P extends Point<S,P>,H extends Hyperplane<S,P,H,I>,I extends SubHyperplane<S,P,H,I>> extends Object implements Iterable<BSPTree<S,P,H,I>>
Set of BSP tree nodes.
See Also:
  • Constructor Details Link icon

    • NodesSet Link icon

      public NodesSet()
      Simple constructor.
  • Method Details Link icon

    • add Link icon

      public void add(BSPTree<S,P,H,I> node)
      Add a node if not already known.
      Parameters:
      node - node to add
    • addAll Link icon

      public void addAll(Iterable<BSPTree<S,P,H,I>> iterator)
      Add nodes if they are not already known.
      Parameters:
      iterator - nodes iterator
    • iterator Link icon

      public Iterator<BSPTree<S,P,H,I>> iterator()
      Specified by:
      iterator in interface Iterable<S extends Space>