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 |
---|---|
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 |
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.
|
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.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.