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 Sphere2D
Sphere2D.LazyHolder. INSTANCE
Cached 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. edgeToNode
Built edges and their associated nodes.private java.util.Map<BSPTree<Sphere2D>,java.util.List<Edge>>
EdgesBuilder. nodeToEdgesList
Reversed map.private BSPTree<Sphere2D>
EdgesBuilder. root
Root of the tree.Methods in org.apache.commons.math3.geometry.spherical.twod that return Sphere2D Modifier and Type Method Description static Sphere2D
Sphere2D. 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 aTransform
embedding 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 void
EdgesBuilder. addContribution(SubCircle sub, boolean reversed, BSPTree<Sphere2D> node)
Add the contribution of a boundary edge.Circle
Circle.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.S2Point
Circle.CircleTransform. apply(Point<Sphere2D> point)
Transform a point of a space.SphericalPolygonsSet
SphericalPolygonsSet. 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.double
S2Point. distance(Point<Sphere2D> point)
Compute the distance between the instance and another point.double
Circle. getOffset(Point<Sphere2D> point)
Get the offset (oriented distance) of a point.private static void
SphericalPolygonsSet. 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.boolean
Circle. 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.S1Point
Circle. toSubSpace(Point<Sphere2D> point)
Transform a space point into a sub-space point.void
EdgesBuilder. visitInternalNode(BSPTree<Sphere2D> node)
Visit a BSP tree node node having a non-null sub-hyperplane.void
PropertiesComputer. visitInternalNode(BSPTree<Sphere2D> node)
Visit a BSP tree node node having a non-null sub-hyperplane.void
EdgesBuilder. visitLeafNode(BSPTree<Sphere2D> node)
Visit a leaf BSP tree node node having a null sub-hyperplane.void
PropertiesComputer. visitLeafNode(BSPTree<Sphere2D> node)
Visit a leaf BSP tree node node having a null sub-hyperplane.BSPTreeVisitor.Order
EdgesBuilder. visitOrder(BSPTree<Sphere2D> node)
Determine the visit order for this node.BSPTreeVisitor.Order
PropertiesComputer. 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.
-