Package | Description |
---|---|
org.hipparchus.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Field | 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 | 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 | Description |
---|---|---|
EnclosingBall<Sphere2D,S2Point> |
SphericalPolygonsSet.getEnclosingCap() |
Get a spherical cap enclosing the polygon.
|
Modifier and Type | Method | Description |
---|---|---|
static double |
S2Point.distance(S2Point p1,
S2Point p2) |
Compute the distance (angular separation) between two points.
|
Constructor | 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 © 2016–2018 Hipparchus.org. All rights reserved.