Package | Description |
---|---|
org.apache.commons.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Method and Description |
---|---|
static GreatCircle |
GreatCircles.fromPoints(Point2S a,
Point2S b,
Precision.DoubleEquivalence precision)
Create a great circle instance from two points on the circle.
|
static GreatCircle |
GreatCircles.fromPole(Vector3D pole,
Precision.DoubleEquivalence precision)
Create a great circle instance from its pole vector.
|
static GreatCircle |
GreatCircles.fromPoleAndU(Vector3D pole,
Vector3D u,
Precision.DoubleEquivalence precision)
Create a great circle instance from its pole vector and a vector representing the u-axis
in the equator plane.
|
GreatCircle |
GreatCircleSubset.getCircle()
Get the great circle defining this instance.
|
GreatCircle |
GreatCircleSubset.getHyperplane() |
GreatCircle |
GreatCircle.reverse() |
GreatCircle |
GreatCircle.transform(Transform<Point2S> transform) |
Modifier and Type | Method and Description |
---|---|
double |
GreatCircle.angle(GreatCircle other)
Compute the angle between this great circle and the argument.
|
double |
GreatCircle.angle(GreatCircle other,
Point2S pt)
Compute the angle between this great circle and the argument, measured
at the intersection point closest to the given point.
|
static GreatArc |
GreatCircles.arcFromInterval(GreatCircle circle,
AngularInterval.Convex interval)
Construct an arc from a great circle and an angular interval.
|
boolean |
GreatCircle.eq(GreatCircle other,
Precision.DoubleEquivalence precision)
Return true if this instance should be considered equivalent to the argument, using the
given precision context for comparison.
|
static ConvexArea2S |
ConvexArea2S.fromBounds(GreatCircle... bounds)
Create a convex area formed by the intersection of the negative half-spaces of the
given bounding great circles.
|
Point2S |
GreatCircle.intersection(GreatCircle other)
Return one of the two intersection points between this instance and the argument.
|
Modifier and Type | Method and Description |
---|---|
static ConvexArea2S |
ConvexArea2S.fromBounds(Iterable<GreatCircle> bounds)
Create a convex area formed by the intersection of the negative half-spaces of the
given bounding great circles.
|
Constructor and Description |
---|
EmbeddedTreeGreatCircleSubset(GreatCircle greatCircle)
Construct a new, empty hyperplane subset for the given great circle.
|
EmbeddedTreeGreatCircleSubset(GreatCircle circle,
boolean full)
Construct a new sub-region for the given great circle.
|
EmbeddedTreeGreatCircleSubset(GreatCircle circle,
RegionBSPTree1S region)
Construct a new instance from its defining great circle and subspace region.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.