Class RegionBSPTree1D.RegionNode1D

    • Method Detail

      • getNodeRegion

        public Interval getNodeRegion()
        Get the region represented by this node. The returned region contains the entire area contained in this node, regardless of the attributes of any child nodes.
        Returns:
        the region represented by this node
      • visitNodeInterval

        private void visitNodeInterval​(java.util.function.BiConsumer<? super OrientedPoint,​? super OrientedPoint> visitor)
        Determine the min/max boundaries for the convex region represented by this node and pass the values to the visitor function.
        Parameters:
        visitor - the object that will receive the min and max boundaries for the node's convex region