Uses of Class
org.apache.commons.geometry.euclidean.twod.RegionBSPTree2D.RegionNode2D
Packages that use RegionBSPTree2D.RegionNode2D
Package
Description
This package provides basic 2D geometry components.
This package provides utilities for constructing basic 2D shapes.
-
Uses of RegionBSPTree2D.RegionNode2D in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod that return RegionBSPTree2D.RegionNode2DModifier and TypeMethodDescriptionprotected RegionBSPTree2D.RegionNode2DRegionBSPTree2D.createNode()Create a new node for this tree.protected RegionBSPTree2D.RegionNode2DRegionBSPTree2D.RegionNode2D.getSelf()Get a reference to the current instance, cast to type N.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type RegionBSPTree2D.RegionNode2DModifier and TypeMethodDescriptionprivate LinecastPoint2DRegionBSPTree2D.LinecastVisitor.computeLinecastPoint(Vector2D pt, RegionBSPTree2D.RegionNode2D node) Compute the linecast point for the given intersection point and tree node, returning null if the point does not actually lie on the region boundary.private voidRegionBSPTree2D.toConvexRecursive(RegionBSPTree2D.RegionNode2D node, ConvexArea nodeArea, List<? super ConvexArea> result) Recursive method to compute the convex areas of all inside leaf nodes in the subtree rooted at the given node.RegionBSPTree2D.LinecastVisitor.visit(RegionBSPTree2D.RegionNode2D node) Visit a node in a BSP tree.RegionBSPTree2D.LinecastVisitor.visitOrder(RegionBSPTree2D.RegionNode2D internalNode) Determine the visit order for the given internal node.Constructor parameters in org.apache.commons.geometry.euclidean.twod with type arguments of type RegionBSPTree2D.RegionNode2DModifierConstructorDescriptionprivateSimple constructor. -
Uses of RegionBSPTree2D.RegionNode2D in org.apache.commons.geometry.euclidean.twod.shape
Methods in org.apache.commons.geometry.euclidean.twod.shape with parameters of type RegionBSPTree2D.RegionNode2DModifier and TypeMethodDescriptionprivate voidCircle.CircleApproximationBuilder.insert(RegionBSPTree2D.RegionNode2D node, int startIdx, int stopIdx) Insert boundary segments into the given node.private voidCircle.CircleApproximationBuilder.splitAndInsert(RegionBSPTree2D.RegionNode2D node, int startIdx, int stopIdx) Split the given node if possible and recursively add boundary segments.