Package | Description |
---|---|
org.apache.commons.math3.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Field and Description |
---|---|
private S2Point |
Vertex.location
Vertex location.
|
static S2Point |
S2Point.MINUS_I
-I (coordinates: \( \theta = \pi, \varphi = \pi/2 \)).
|
static S2Point |
S2Point.MINUS_J
-J (coordinates: \( \theta = 3\pi/2, \varphi = \pi/2 \)).
|
static S2Point |
S2Point.MINUS_K
-K (coordinates: \( \theta = any angle, \varphi = \pi \)).
|
static S2Point |
S2Point.NaN
A vector with all coordinates set to NaN.
|
static S2Point |
S2Point.PLUS_I
+I (coordinates: \( \theta = 0, \varphi = \pi/2 \)).
|
static S2Point |
S2Point.PLUS_J
+J (coordinates: \( \theta = \pi/2, \varphi = \pi/2 \))).
|
static S2Point |
S2Point.PLUS_K
+K (coordinates: \( \theta = any angle, \varphi = 0 \)).
|
Modifier and Type | Method and Description |
---|---|
S2Point |
Circle.CircleTransform.apply(Point<Sphere2D> point)
Transform a point of a space.
|
private static S2Point[] |
SphericalPolygonsSet.createRegularPolygonVertices(Vector3D center,
Vector3D meridian,
double outsideRadius,
int n)
Build the vertices representing a regular polygon.
|
S2Point |
PropertiesComputer.getBarycenter()
Get the barycenter.
|
S2Point |
Vertex.getLocation()
Get Vertex location.
|
S2Point |
S2Point.negate()
Get the opposite of the instance.
|
S2Point |
Circle.toSpace(Point<Sphere1D> point)
Transform a sub-space point into a space point.
|
Modifier and Type | Method and Description |
---|---|
EnclosingBall<Sphere2D,S2Point> |
SphericalPolygonsSet.getEnclosingCap()
Get a spherical cap enclosing the polygon.
|
Modifier and Type | Method and Description |
---|---|
static double |
S2Point.distance(S2Point p1,
S2Point p2)
Compute the distance (angular separation) between two points.
|
private static BSPTree<Sphere2D> |
SphericalPolygonsSet.verticesToTree(double hyperplaneThickness,
S2Point... vertices)
Build the BSP tree of a polygons set from a simple list of vertices.
|
Constructor and Description |
---|
Circle(S2Point first,
S2Point second,
double tolerance)
Build a great circle from two non-aligned points.
|
SphericalPolygonsSet(double hyperplaneThickness,
S2Point... vertices)
Build a polygon from a simple list of vertices.
|
Vertex(S2Point location)
Build a non-processed vertex not owned by any node yet.
|