Uses of Class
org.apache.commons.math3.geometry.spherical.twod.Sphere2D
-
Packages that use Sphere2D Package Description org.apache.commons.math3.geometry.spherical.twod This package provides basic geometry components on the 2-sphere. -
-
Uses of Sphere2D in org.apache.commons.math3.geometry.spherical.twod
Fields in org.apache.commons.math3.geometry.spherical.twod declared as Sphere2D Modifier and Type Field Description private static Sphere2DSphere2D.LazyHolder. INSTANCECached field instance.Fields in org.apache.commons.math3.geometry.spherical.twod with type parameters of type Sphere2D Modifier and Type Field Description private java.util.Map<Edge,BSPTree<Sphere2D>>EdgesBuilder. edgeToNodeBuilt edges and their associated nodes.private java.util.Map<BSPTree<Sphere2D>,java.util.List<Edge>>EdgesBuilder. nodeToEdgesListReversed map.private BSPTree<Sphere2D>EdgesBuilder. rootRoot of the tree.Methods in org.apache.commons.math3.geometry.spherical.twod that return Sphere2D Modifier and Type Method Description static Sphere2DSphere2D. getInstance()Get the unique instance.Methods in org.apache.commons.math3.geometry.spherical.twod that return types with arguments of type Sphere2D Modifier and Type Method Description protected AbstractSubHyperplane<Sphere2D,Sphere1D>SubCircle. buildNew(Hyperplane<Sphere2D> hyperplane, Region<Sphere1D> remainingRegion)Build a sub-hyperplane from an hyperplane and a region.EnclosingBall<Sphere2D,S2Point>SphericalPolygonsSet. getEnclosingCap()Get a spherical cap enclosing the polygon.static Transform<Sphere2D,Sphere1D>Circle. getTransform(Rotation rotation)Get aTransformembedding a 3D rotation.Point<Sphere2D>Circle. project(Point<Sphere2D> point)Project a point to the hyperplane.SubHyperplane.SplitSubHyperplane<Sphere2D>SubCircle. split(Hyperplane<Sphere2D> hyperplane)Split the instance in two parts by an hyperplane.private static BSPTree<Sphere2D>SphericalPolygonsSet. verticesToTree(double hyperplaneThickness, S2Point... vertices)Build the BSP tree of a polygons set from a simple list of vertices.Method parameters in org.apache.commons.math3.geometry.spherical.twod with type arguments of type Sphere2D Modifier and Type Method Description private voidEdgesBuilder. addContribution(SubCircle sub, boolean reversed, BSPTree<Sphere2D> node)Add the contribution of a boundary edge.CircleCircle.CircleTransform. apply(Hyperplane<Sphere2D> hyperplane)Transform an hyperplane of a space.SubHyperplane<Sphere1D>Circle.CircleTransform. apply(SubHyperplane<Sphere1D> sub, Hyperplane<Sphere2D> original, Hyperplane<Sphere2D> transformed)Transform a sub-hyperplane embedded in an hyperplane.S2PointCircle.CircleTransform. apply(Point<Sphere2D> point)Transform a point of a space.SphericalPolygonsSetSphericalPolygonsSet. buildNew(BSPTree<Sphere2D> tree)Build a region using the instance as a prototype.protected AbstractSubHyperplane<Sphere2D,Sphere1D>SubCircle. buildNew(Hyperplane<Sphere2D> hyperplane, Region<Sphere1D> remainingRegion)Build a sub-hyperplane from an hyperplane and a region.doubleS2Point. distance(Point<Sphere2D> point)Compute the distance between the instance and another point.doubleCircle. getOffset(Point<Sphere2D> point)Get the offset (oriented distance) of a point.private static voidSphericalPolygonsSet. insertEdges(double hyperplaneThickness, BSPTree<Sphere2D> node, java.util.List<Edge> edges)Recursively build a tree by inserting cut sub-hyperplanes.Point<Sphere2D>Circle. project(Point<Sphere2D> point)Project a point to the hyperplane.booleanCircle. sameOrientationAs(Hyperplane<Sphere2D> other)Check if the instance has the same orientation as another hyperplane.SubHyperplane.SplitSubHyperplane<Sphere2D>SubCircle. split(Hyperplane<Sphere2D> hyperplane)Split the instance in two parts by an hyperplane.S1PointCircle. toSubSpace(Point<Sphere2D> point)Transform a space point into a sub-space point.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.BSPTreeVisitor.OrderEdgesBuilder. visitOrder(BSPTree<Sphere2D> node)Determine the visit order for this node.BSPTreeVisitor.OrderPropertiesComputer. visitOrder(BSPTree<Sphere2D> node)Determine the visit order for this node.Constructor parameters in org.apache.commons.math3.geometry.spherical.twod with type arguments of type Sphere2D Constructor Description EdgesBuilder(BSPTree<Sphere2D> root, double tolerance)Simple constructor.SphericalPolygonsSet(java.util.Collection<SubHyperplane<Sphere2D>> boundary, double tolerance)Build a polygons set from a Boundary REPresentation (B-rep).SphericalPolygonsSet(BSPTree<Sphere2D> tree, double tolerance)Build a polygons set from a BSP tree.SubCircle(Hyperplane<Sphere2D> hyperplane, Region<Sphere1D> remainingRegion)Simple constructor.
-