Documentation of 'org.apache.commons.math3.geometry.partitioning.BSPTreeVisitor' Java class
BSPTreeVisitor
org.apache.commons.math3.geometry.partitioning

Interface BSPTreeVisitor<S extends Space>

  • Type Parameters:
    S - Type of the space.


    public interface BSPTreeVisitor<S extends Space>
    This interface is used to visit BSP tree nodes.

    Navigation through BSP trees can be done using two different point of views:

    • the first one is in a node-oriented way using the BSPTree.getPlus(), BSPTree.getMinus() and BSPTree.getParent() methods. Terminal nodes without associated sub-hyperplanes can be visited this way, there is no constraint in the visit order, and it is possible to visit either all nodes or only a subset of the nodes
    • the second one is in a sub-hyperplane-oriented way using classes implementing this interface which obeys the visitor design pattern. The visit order is provided by the visitor as each node is first encountered. Each node is visited exactly once.
    Since:
    3.0
    See Also:
    BSPTree, SubHyperplane

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.