Uses of Class
org.apache.commons.math3.geometry.spherical.twod.Sphere2D
Packages that use Sphere2D
Package
Description
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 Sphere2DModifier and TypeFieldDescriptionprivate static final Sphere2D
Sphere2D.LazyHolder.INSTANCE
Cached field instance.Fields in org.apache.commons.math3.geometry.spherical.twod with type parameters of type Sphere2DModifier and TypeFieldDescriptionEdgesBuilder.edgeToNode
Built edges and their associated nodes.EdgesBuilder.nodeToEdgesList
Reversed map.EdgesBuilder.root
Root of the tree.Methods in org.apache.commons.math3.geometry.spherical.twod that return Sphere2DModifier and TypeMethodDescriptionstatic Sphere2D
Sphere2D.getInstance()
Get the unique instance.Methods in org.apache.commons.math3.geometry.spherical.twod that return types with arguments of type Sphere2DModifier and TypeMethodDescriptionprotected AbstractSubHyperplane
<Sphere2D, Sphere1D> SubCircle.buildNew
(Hyperplane<Sphere2D> hyperplane, Region<Sphere1D> remainingRegion) Build a sub-hyperplane from an hyperplane and a region.SphericalPolygonsSet.getEnclosingCap()
Get a spherical cap enclosing the polygon.Circle.getTransform
(Rotation rotation) Get aTransform
embedding a 3D rotation.Project a point to the hyperplane.SubCircle.split
(Hyperplane<Sphere2D> hyperplane) Split the instance in two parts by an hyperplane.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 Sphere2DModifier and TypeMethodDescriptionprivate void
EdgesBuilder.addContribution
(SubCircle sub, boolean reversed, BSPTree<Sphere2D> node) Add the contribution of a boundary edge.Circle.CircleTransform.apply
(Hyperplane<Sphere2D> hyperplane) Transform an hyperplane of a space.Circle.CircleTransform.apply
(SubHyperplane<Sphere1D> sub, Hyperplane<Sphere2D> original, Hyperplane<Sphere2D> transformed) Transform a sub-hyperplane embedded in an hyperplane.Transform a point of a space.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
Compute the distance between the instance and another point.double
Get the offset (oriented distance) of a point.private static void
SphericalPolygonsSet.insertEdges
(double hyperplaneThickness, BSPTree<Sphere2D> node, List<Edge> edges) Recursively build a tree by inserting cut sub-hyperplanes.Project a point to the hyperplane.boolean
Circle.sameOrientationAs
(Hyperplane<Sphere2D> other) Check if the instance has the same orientation as another hyperplane.SubCircle.split
(Hyperplane<Sphere2D> hyperplane) Split the instance in two parts by an hyperplane.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.EdgesBuilder.visitOrder
(BSPTree<Sphere2D> node) Determine the visit order for this node.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 Sphere2DModifierConstructorDescription(package private)
EdgesBuilder
(BSPTree<Sphere2D> root, double tolerance) Simple constructor.SphericalPolygonsSet
(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.