Uses of Class
org.apache.commons.math3.geometry.partitioning.BSPTree
Packages that use BSPTree
Package
Description
This package provides basic 1D geometry components.
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides classes to implement Binary Space Partition trees.
This package provides basic geometry components on the 1-sphere.
This package provides basic geometry components on the 2-sphere.
-
Uses of BSPTree in org.apache.commons.math3.geometry.euclidean.oned
Fields in org.apache.commons.math3.geometry.euclidean.oned declared as BSPTreeModifier and TypeFieldDescriptionprivate BSPTree<Euclidean1D> IntervalsSet.SubIntervalsIterator.currentCurrent node.Methods in org.apache.commons.math3.geometry.euclidean.oned that return BSPTreeModifier and TypeMethodDescriptionprivate static BSPTree<Euclidean1D> IntervalsSet.buildTree(double lower, double upper, double tolerance) Build an inside/outside tree representing a single interval.private BSPTree<Euclidean1D> IntervalsSet.childAfter(BSPTree<Euclidean1D> node) Find the child node just after an internal node.private BSPTree<Euclidean1D> IntervalsSet.childBefore(BSPTree<Euclidean1D> node) Find the child node just before an internal node.private BSPTree<Euclidean1D> IntervalsSet.getFirstIntervalBoundary()Get the node corresponding to the first interval boundary.private BSPTree<Euclidean1D> IntervalsSet.getFirstLeaf(BSPTree<Euclidean1D> root) Get the first leaf node of a tree.private BSPTree<Euclidean1D> IntervalsSet.leafAfter(BSPTree<Euclidean1D> node) Find the leaf node just after an internal node.private BSPTree<Euclidean1D> IntervalsSet.leafBefore(BSPTree<Euclidean1D> node) Find the leaf node just before an internal node.private BSPTree<Euclidean1D> IntervalsSet.nextInternalNode(BSPTree<Euclidean1D> node) Get the next internal node.private BSPTree<Euclidean1D> IntervalsSet.previousInternalNode(BSPTree<Euclidean1D> node) Get the previous internal node.Methods in org.apache.commons.math3.geometry.euclidean.oned with parameters of type BSPTreeModifier and TypeMethodDescriptionIntervalsSet.buildNew(BSPTree<Euclidean1D> tree) Build a region using the instance as a prototype.private BSPTree<Euclidean1D> IntervalsSet.childAfter(BSPTree<Euclidean1D> node) Find the child node just after an internal node.private BSPTree<Euclidean1D> IntervalsSet.childBefore(BSPTree<Euclidean1D> node) Find the child node just before an internal node.private doubleIntervalsSet.getAngle(BSPTree<Euclidean1D> node) Get the abscissa of an internal node.private BSPTree<Euclidean1D> IntervalsSet.getFirstLeaf(BSPTree<Euclidean1D> root) Get the first leaf node of a tree.private booleanIntervalsSet.isAfterParent(BSPTree<Euclidean1D> node) Check if a node is the child after its parent in ascending order.private booleanIntervalsSet.isBeforeParent(BSPTree<Euclidean1D> node) Check if a node is the child before its parent in ascending order.private booleanIntervalsSet.isDirect(BSPTree<Euclidean1D> node) Check if an internal node has a direct oriented point.private booleanIntervalsSet.isIntervalEnd(BSPTree<Euclidean1D> node) Check if an internal node corresponds to the end abscissa of an interval.private booleanIntervalsSet.isIntervalStart(BSPTree<Euclidean1D> node) Check if an internal node corresponds to the start abscissa of an interval.private BSPTree<Euclidean1D> IntervalsSet.leafAfter(BSPTree<Euclidean1D> node) Find the leaf node just after an internal node.private BSPTree<Euclidean1D> IntervalsSet.leafBefore(BSPTree<Euclidean1D> node) Find the leaf node just before an internal node.private BSPTree<Euclidean1D> IntervalsSet.nextInternalNode(BSPTree<Euclidean1D> node) Get the next internal node.private BSPTree<Euclidean1D> IntervalsSet.previousInternalNode(BSPTree<Euclidean1D> node) Get the previous internal node.Constructors in org.apache.commons.math3.geometry.euclidean.oned with parameters of type BSPTreeModifierConstructorDescriptionIntervalsSet(BSPTree<Euclidean1D> tree) Deprecated.IntervalsSet(BSPTree<Euclidean1D> tree, double tolerance) Build an intervals set from an inside/outside BSP tree. -
Uses of BSPTree in org.apache.commons.math3.geometry.euclidean.threed
Methods in org.apache.commons.math3.geometry.euclidean.threed that return BSPTreeModifier and TypeMethodDescriptionprivate static BSPTree<Euclidean3D> PolyhedronsSet.buildBoundary(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax, double tolerance) Build a parallellepipedic box boundary.Methods in org.apache.commons.math3.geometry.euclidean.threed with parameters of type BSPTreeModifier and TypeMethodDescriptionprivate SubHyperplane<Euclidean3D> PolyhedronsSet.boundaryFacet(Vector3D point, BSPTree<Euclidean3D> node) Check if a point belongs to the boundary part of a node.PolyhedronsSet.buildNew(BSPTree<Euclidean3D> tree) Build a region using the instance as a prototype.private SubHyperplane<Euclidean3D> PolyhedronsSet.recurseFirstIntersection(BSPTree<Euclidean3D> node, Vector3D point, Line line) Get the first sub-hyperplane crossed by a semi-infinite line.voidOutlineExtractor.BoundaryProjector.visitInternalNode(BSPTree<Euclidean3D> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidPolyhedronsSet.FacetsContributionVisitor.visitInternalNode(BSPTree<Euclidean3D> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidOutlineExtractor.BoundaryProjector.visitLeafNode(BSPTree<Euclidean3D> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidPolyhedronsSet.FacetsContributionVisitor.visitLeafNode(BSPTree<Euclidean3D> node) Visit a leaf BSP tree node node having a null sub-hyperplane.OutlineExtractor.BoundaryProjector.visitOrder(BSPTree<Euclidean3D> node) Determine the visit order for this node.PolyhedronsSet.FacetsContributionVisitor.visitOrder(BSPTree<Euclidean3D> node) Determine the visit order for this node.Constructors in org.apache.commons.math3.geometry.euclidean.threed with parameters of type BSPTreeModifierConstructorDescriptionPolyhedronsSet(BSPTree<Euclidean3D> tree) Deprecated.as of 3.3, replaced withPolyhedronsSet(BSPTree, double)PolyhedronsSet(BSPTree<Euclidean3D> tree, double tolerance) Build a polyhedrons set from a BSP tree. -
Uses of BSPTree in org.apache.commons.math3.geometry.euclidean.twod
Fields in org.apache.commons.math3.geometry.euclidean.twod declared as BSPTreeModifier and TypeFieldDescriptionprivate final BSPTree<Euclidean2D> PolygonsSet.ConnectableSegment.endNodeNode whose intersection with current node defines end point.private final BSPTree<Euclidean2D> PolygonsSet.ConnectableSegment.nodeNode containing segment.private BSPTree<Euclidean2D> PolygonsSet.Edge.nodeNode whose cut hyperplane contains this edge.private final BSPTree<Euclidean2D> PolygonsSet.ConnectableSegment.startNodeNode whose intersection with current node defines start point.Methods in org.apache.commons.math3.geometry.euclidean.twod that return BSPTreeModifier and TypeMethodDescriptionPolygonsSet.ConnectableSegment.getEndNode()Get the node whose intersection with current node defines end point.PolygonsSet.ConnectableSegment.getNode()Get the node containing segment.PolygonsSet.Edge.getNode()Get the node whose cut hyperplane contains this edge.PolygonsSet.ConnectableSegment.getStartNode()Get the node whose intersection with current node defines start point.private BSPTree<Euclidean2D> PolygonsSet.SegmentsBuilder.selectClosest(Vector2D point, Iterable<BSPTree<Euclidean2D>> candidates) Select the node whose cut sub-hyperplane is closest to specified point.private static BSPTree<Euclidean2D> PolygonsSet.verticesToTree(double hyperplaneThickness, Vector2D... vertices) Build the BSP tree of a polygons set from a simple list of vertices.Methods in org.apache.commons.math3.geometry.euclidean.twod with parameters of type BSPTreeModifier and TypeMethodDescriptionprivate voidPolygonsSet.SegmentsBuilder.addContribution(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed) Add the contribution of a boundary facet.PolygonsSet.buildNew(BSPTree<Euclidean2D> tree) Build a region using the instance as a prototype.private static voidPolygonsSet.insertEdges(double hyperplaneThickness, BSPTree<Euclidean2D> node, List<PolygonsSet.Edge> edges) Recursively build a tree by inserting cut sub-hyperplanes.voidPolygonsSet.Edge.setNode(BSPTree<Euclidean2D> node) Set the node whose cut hyperplane contains this edge.voidPolygonsSet.SegmentsBuilder.visitInternalNode(BSPTree<Euclidean2D> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidPolygonsSet.SegmentsBuilder.visitLeafNode(BSPTree<Euclidean2D> node) Visit a leaf BSP tree node node having a null sub-hyperplane.PolygonsSet.SegmentsBuilder.visitOrder(BSPTree<Euclidean2D> node) Determine the visit order for this node.Method parameters in org.apache.commons.math3.geometry.euclidean.twod with type arguments of type BSPTreeModifier and TypeMethodDescriptionprivate voidPolygonsSet.SegmentsBuilder.addContribution(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed) Add the contribution of a boundary facet.private BSPTree<Euclidean2D> PolygonsSet.SegmentsBuilder.selectClosest(Vector2D point, Iterable<BSPTree<Euclidean2D>> candidates) Select the node whose cut sub-hyperplane is closest to specified point.Constructors in org.apache.commons.math3.geometry.euclidean.twod with parameters of type BSPTreeModifierConstructorDescription(package private)ConnectableSegment(Vector2D start, Vector2D end, Line line, BSPTree<Euclidean2D> node, BSPTree<Euclidean2D> startNode, BSPTree<Euclidean2D> endNode) Build a segment.PolygonsSet(BSPTree<Euclidean2D> tree) Deprecated.as of 3.3, replaced withPolygonsSet(BSPTree, double)PolygonsSet(BSPTree<Euclidean2D> tree, double tolerance) Build a polygons set from a BSP tree. -
Uses of BSPTree in org.apache.commons.math3.geometry.partitioning
Fields in org.apache.commons.math3.geometry.partitioning declared as BSPTreeModifier and TypeFieldDescriptionBoundaryProjector.leafLeaf node closest to the test point.BSPTree.minusTree at the minus side of the cut hyperplane.BSPTree.parentParent tree.BSPTree.plusTree at the plus side of the cut hyperplane.AbstractRegion.treeInside/Outside BSP tree.Fields in org.apache.commons.math3.geometry.partitioning with type parameters of type BSPTreeMethods in org.apache.commons.math3.geometry.partitioning that return BSPTreeModifier and TypeMethodDescriptionBSPTree.copySelf()Copy the instance.Fix a node with both vanished cut and children.Fix a node with both vanished cut and children.Fix a node with both vanished cut and children.Get the cell to which a point belongs.Deprecated.as of 3.3, replaced withgetCell(Point, double)BSPTree.getMinus()Get the tree on the minus side of the cut hyperplane.BSPTree.getParent()Get the parent node.BSPTree.getPlus()Get the tree on the plus side of the cut hyperplane.AbstractRegion.getTree(boolean includeBoundaryAttributes) Get the underlying BSP tree.Region.getTree(boolean includeBoundaryAttributes) Get the underlying BSP tree.BSPTree.LeafMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.BSPTree.merge(BSPTree<S> tree, BSPTree.LeafMerger<S> leafMerger) Merge a BSP tree with the instance.BSPTree.merge(BSPTree<S> tree, BSPTree.LeafMerger<S> leafMerger, BSPTree<S> parentTree, boolean isPlusChild) Merge a BSP tree with the instance.RegionFactory.DifferenceMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.IntersectionMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.UnionMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.XorMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.BSPTree.pruneAroundConvexCell(Object cellAttribute, Object otherLeafsAttributes, Object internalAttributes) Prune a tree around a cell.RegionFactory.recurseComplement(BSPTree<S> node) Recursively build the complement of a BSP tree.Recursively build the complement of a BSP tree.AbstractRegion.recurseTransform(BSPTree<S> node, Transform<S, T> transform, Map<BSPTree<S>, BSPTree<S>> map) Recursively transform an inside/outside BSP-tree.AbstractSubHyperplane.recurseTransform(BSPTree<T> node, Hyperplane<S> transformed, Transform<S, T> transform, Map<BSPTree<T>, BSPTree<T>> map) Recursively transform a BSP-tree from a sub-hyperplane.BSPTree.split(SubHyperplane<S> sub) Split a BSP tree by an external sub-hyperplane.Methods in org.apache.commons.math3.geometry.partitioning that return types with arguments of type BSPTreeModifier and TypeMethodDescriptionBSPTree.getCloseCuts(Point<S> point, double maxOffset) Get the cells whose cut sub-hyperplanes are close to the point.NodesSet.iterator()Methods in org.apache.commons.math3.geometry.partitioning with parameters of type BSPTreeModifier and TypeMethodDescriptionvoidAdd a node if not already known.BoundaryProjector.boundaryRegions(BSPTree<S> node) Extract the regions of the boundary on an internal node.abstract AbstractRegion<S, T> Build a region using the instance as a prototype.Build a region using the instance as a prototype.private voidCharacterization.characterize(BSPTree<S> node, SubHyperplane<S> sub, List<BSPTree<S>> splitters) Filter the parts of an hyperplane belonging to the boundary.protected Region.LocationAbstractRegion.checkPoint(BSPTree<S> node, Point<S> point) Check a point with respect to the region starting at a given node.protected Region.LocationAbstractRegion.checkPoint(BSPTree<S> node, Vector<S> point) Check a point with respect to the region starting at a given node.Fix a node with both vanished cut and children.Fix a node with both vanished cut and children.Fix a node with both vanished cut and children.private voidAbstractRegion.insertCuts(BSPTree<S> node, Collection<SubHyperplane<S>> boundary) Recursively build a tree by inserting cut sub-hyperplanes.voidBSPTree.insertInTree(BSPTree<S> parentTree, boolean isPlusChild) Deprecated.as of 3.4, replaced withinsertInTree(BSPTree, boolean, VanishingCutHandler)voidBSPTree.insertInTree(BSPTree<S> parentTree, boolean isPlusChild, BSPTree.VanishingCutHandler<S> vanishingHandler) Insert the instance into another tree.booleanCheck if the sub-tree starting at a given node is empty.booleanCheck if the sub-tree starting at a given node is empty.booleanCheck if the sub-tree starting at a given node covers the full space.booleanCheck if the sub-tree starting at a given node covers the full space.BSPTree.LeafMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.BSPTree.merge(BSPTree<S> tree, BSPTree.LeafMerger<S> leafMerger) Merge a BSP tree with the instance.BSPTree.merge(BSPTree<S> tree, BSPTree.LeafMerger<S> leafMerger, BSPTree<S> parentTree, boolean isPlusChild) Merge a BSP tree with the instance.RegionFactory.DifferenceMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.IntersectionMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.UnionMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.XorMerger.merge(BSPTree<S> leaf, BSPTree<S> tree, BSPTree<S> parentTree, boolean isPlusChild, boolean leafFromInstance) Merge a leaf node and a tree node.RegionFactory.recurseComplement(BSPTree<S> node) Recursively build the complement of a BSP tree.Recursively build the complement of a BSP tree.private SubHyperplane<S> AbstractRegion.recurseIntersection(BSPTree<S> node, SubHyperplane<S> sub) Recursively compute the parts of a sub-hyperplane that are contained in the region.voidInsideFinder.recurseSides(BSPTree<S> node, SubHyperplane<S> sub) Search recursively for inside leaf nodes on each side of the given hyperplane.AbstractRegion.recurseTransform(BSPTree<S> node, Transform<S, T> transform, Map<BSPTree<S>, BSPTree<S>> map) Recursively transform an inside/outside BSP-tree.AbstractSubHyperplane.recurseTransform(BSPTree<T> node, Hyperplane<S> transformed, Transform<S, T> transform, Map<BSPTree<T>, BSPTree<T>> map) Recursively transform a BSP-tree from a sub-hyperplane.voidBoundaryBuilder.visitInternalNode(BSPTree<S> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidBoundaryProjector.visitInternalNode(BSPTree<S> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidBoundarySizeVisitor.visitInternalNode(BSPTree<S> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidBSPTreeVisitor.visitInternalNode(BSPTree<S> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidRegionFactory.NodesCleaner.visitInternalNode(BSPTree<S> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidBoundaryBuilder.visitLeafNode(BSPTree<S> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidBoundaryProjector.visitLeafNode(BSPTree<S> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidBoundarySizeVisitor.visitLeafNode(BSPTree<S> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidBSPTreeVisitor.visitLeafNode(BSPTree<S> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidRegionFactory.NodesCleaner.visitLeafNode(BSPTree<S> node) Visit a leaf BSP tree node node having a null sub-hyperplane.BoundaryBuilder.visitOrder(BSPTree<S> node) Determine the visit order for this node.BoundaryProjector.visitOrder(BSPTree<S> node) Determine the visit order for this node.BoundarySizeVisitor.visitOrder(BSPTree<S> node) Determine the visit order for this node.BSPTreeVisitor.visitOrder(BSPTree<S> node) Determine the visit order for this node.RegionFactory.NodesCleaner.visitOrder(BSPTree<S> node) Determine the visit order for this node.Method parameters in org.apache.commons.math3.geometry.partitioning with type arguments of type BSPTreeModifier and TypeMethodDescriptionvoidAdd nodes if they are not already known.private voidCharacterization.addInsideTouching(SubHyperplane<S> sub, List<BSPTree<S>> splitters) Add a part of the cut sub-hyperplane known to touch an inside cell.private voidCharacterization.addOutsideTouching(SubHyperplane<S> sub, List<BSPTree<S>> splitters) Add a part of the cut sub-hyperplane known to touch an outside cell.private voidCharacterization.characterize(BSPTree<S> node, SubHyperplane<S> sub, List<BSPTree<S>> splitters) Filter the parts of an hyperplane belonging to the boundary.private voidGet the cells whose cut sub-hyperplanes are close to the point.Recursively build the complement of a BSP tree.Recursively build the complement of a BSP tree.AbstractRegion.recurseTransform(BSPTree<S> node, Transform<S, T> transform, Map<BSPTree<S>, BSPTree<S>> map) Recursively transform an inside/outside BSP-tree.AbstractRegion.recurseTransform(BSPTree<S> node, Transform<S, T> transform, Map<BSPTree<S>, BSPTree<S>> map) Recursively transform an inside/outside BSP-tree.AbstractSubHyperplane.recurseTransform(BSPTree<T> node, Hyperplane<S> transformed, Transform<S, T> transform, Map<BSPTree<T>, BSPTree<T>> map) Recursively transform a BSP-tree from a sub-hyperplane.AbstractSubHyperplane.recurseTransform(BSPTree<T> node, Hyperplane<S> transformed, Transform<S, T> transform, Map<BSPTree<T>, BSPTree<T>> map) Recursively transform a BSP-tree from a sub-hyperplane.Constructors in org.apache.commons.math3.geometry.partitioning with parameters of type BSPTreeModifierConstructorDescriptionprotectedAbstractRegion(BSPTree<S> tree, double tolerance) Build a region from an inside/outside BSP tree.Build a BSPTree from its underlying elements.(package private)Characterization(BSPTree<S> node, SubHyperplane<S> sub) Simple constructor. -
Uses of BSPTree in org.apache.commons.math3.geometry.spherical.oned
Fields in org.apache.commons.math3.geometry.spherical.oned declared as BSPTreeModifier and TypeFieldDescriptionArcsSet.SubArcsIterator.currentCurrent node.ArcsSet.SubArcsIterator.firstStartStart of the first arc.Methods in org.apache.commons.math3.geometry.spherical.oned that return BSPTreeModifier and TypeMethodDescriptionArcsSet.buildTree(double lower, double upper, double tolerance) Build an inside/outside tree representing a single arc.ArcsSet.childAfter(BSPTree<Sphere1D> node) Find the child node just after an internal node.ArcsSet.childBefore(BSPTree<Sphere1D> node) Find the child node just before an internal node.ArcsSet.getFirstArcStart()Get the node corresponding to the first arc start.ArcsSet.getFirstLeaf(BSPTree<Sphere1D> root) Get the first leaf node of a tree.ArcsSet.getLastLeaf(BSPTree<Sphere1D> root) Get the last leaf node of a tree.Find the leaf node just after an internal node.ArcsSet.leafBefore(BSPTree<Sphere1D> node) Find the leaf node just before an internal node.ArcsSet.nextInternalNode(BSPTree<Sphere1D> node) Get the next internal node.ArcsSet.previousInternalNode(BSPTree<Sphere1D> node) Get the previous internal node.Methods in org.apache.commons.math3.geometry.spherical.oned with parameters of type BSPTreeModifier and TypeMethodDescriptionprivate voidArcsSet.addArcLimit(BSPTree<Sphere1D> tree, double alpha, boolean isStart) Add an arc limit to a BSP tree under construction.Build a region using the instance as a prototype.ArcsSet.childAfter(BSPTree<Sphere1D> node) Find the child node just after an internal node.ArcsSet.childBefore(BSPTree<Sphere1D> node) Find the child node just before an internal node.private doubleGet the limit angle of an internal node.ArcsSet.getFirstLeaf(BSPTree<Sphere1D> root) Get the first leaf node of a tree.ArcsSet.getLastLeaf(BSPTree<Sphere1D> root) Get the last leaf node of a tree.private booleanArcsSet.isAfterParent(BSPTree<Sphere1D> node) Check if a node is the child after its parent in trigonometric order.private booleanCheck if an internal node corresponds to the end angle of an arc.private booleanArcsSet.isArcStart(BSPTree<Sphere1D> node) Check if an internal node corresponds to the start angle of an arc.private booleanArcsSet.isBeforeParent(BSPTree<Sphere1D> node) Check if a node is the child before its parent in trigonometric order.private booleanCheck if an internal node has a direct limit angle.Find the leaf node just after an internal node.ArcsSet.leafBefore(BSPTree<Sphere1D> node) Find the leaf node just before an internal node.ArcsSet.nextInternalNode(BSPTree<Sphere1D> node) Get the next internal node.ArcsSet.previousInternalNode(BSPTree<Sphere1D> node) Get the previous internal node.Constructors in org.apache.commons.math3.geometry.spherical.oned with parameters of type BSPTree -
Uses of BSPTree in org.apache.commons.math3.geometry.spherical.twod
Fields in org.apache.commons.math3.geometry.spherical.twod declared as BSPTreeFields in org.apache.commons.math3.geometry.spherical.twod with type parameters of type BSPTreeModifier and TypeFieldDescriptionEdgesBuilder.edgeToNodeBuilt edges and their associated nodes.EdgesBuilder.nodeToEdgesListReversed map.Methods in org.apache.commons.math3.geometry.spherical.twod that return BSPTreeModifier and TypeMethodDescriptionSphericalPolygonsSet.verticesToTree(double hyperplaneThickness, S2Point... vertices) Build the BSP tree of a polygons set from a simple list of vertices.Methods in org.apache.commons.math3.geometry.spherical.twod with parameters of type BSPTreeModifier and TypeMethodDescriptionprivate voidEdgesBuilder.addContribution(SubCircle sub, boolean reversed, BSPTree<Sphere2D> node) Add the contribution of a boundary edge.Build a region using the instance as a prototype.private static voidSphericalPolygonsSet.insertEdges(double hyperplaneThickness, BSPTree<Sphere2D> node, List<Edge> edges) Recursively build a tree by inserting cut sub-hyperplanes.voidEdgesBuilder.visitInternalNode(BSPTree<Sphere2D> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidPropertiesComputer.visitInternalNode(BSPTree<Sphere2D> node) Visit a BSP tree node node having a non-null sub-hyperplane.voidEdgesBuilder.visitLeafNode(BSPTree<Sphere2D> node) Visit a leaf BSP tree node node having a null sub-hyperplane.voidPropertiesComputer.visitLeafNode(BSPTree<Sphere2D> node) Visit a leaf BSP tree node node having a null sub-hyperplane.EdgesBuilder.visitOrder(BSPTree<Sphere2D> node) Determine the visit order for this node.PropertiesComputer.visitOrder(BSPTree<Sphere2D> node) Determine the visit order for this node.Constructors in org.apache.commons.math3.geometry.spherical.twod with parameters of type BSPTreeModifierConstructorDescription(package private)EdgesBuilder(BSPTree<Sphere2D> root, double tolerance) Simple constructor.SphericalPolygonsSet(BSPTree<Sphere2D> tree, double tolerance) Build a polygons set from a BSP tree.
IntervalsSet(BSPTree, double)