Package | Description |
---|---|
org.apache.commons.geometry.spherical.oned |
This package provides basic geometry components on the 1-sphere.
|
org.apache.commons.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Field and Description |
---|---|
static Point1S |
Point1S.NaN
A point with all coordinates set to NaN.
|
static Point1S |
Point1S.PI
A point with coordinates set to
pi . |
static Point1S |
Point1S.ZERO
A point with coordinates set to
0*pi . |
Modifier and Type | Field and Description |
---|---|
static Comparator<Point1S> |
Point1S.NORMALIZED_AZIMUTH_ASCENDING_ORDER
Comparator that sorts points by normalized azimuth in ascending order.
|
Modifier and Type | Method and Description |
---|---|
Point1S |
Point1S.above(double base)
Return an equivalent point with an azimuth value at or above the given base
value in radians.
|
Point1S |
Point1S.above(Point1S base)
Return an equivalent point with an azimuth value at or above the given base.
|
Point1S |
Point1S.antipodal()
Get the point exactly opposite this point on the circle,
pi distance away. |
Point1S |
Transform1S.apply(Point1S pt) |
static Point1S |
Point1S.from(PolarCoordinates polar)
Create a new point instance containing an azimuth value equal to that of the
given set of polar coordinates.
|
static Point1S |
Point1S.from(Vector2D vector)
Create a new point instance from the given Euclidean 2D vector.
|
Point1S |
AngularInterval.getCentroid() |
Point1S |
AngularInterval.getMidPoint()
Get the midpoint of the interval or null if the interval represents
the full space.
|
Point1S |
CutAngle.getPoint()
Get the location of the hyperplane as a point.
|
static Point1S |
Point1S.of(org.apache.commons.numbers.angle.Angle azimuth)
Create a new point instance from the given azimuth angle.
|
static Point1S |
Point1S.of(double azimuth)
Create a new point instance from the given azimuth angle.
|
static Point1S |
Point1S.parse(String str)
Parse the given string and returns a new point instance.
|
Point1S |
CutAngle.project(Point1S pt) |
Point1S |
RegionBSPTree1S.project(Point1S pt) |
Point1S |
AngularInterval.project(Point1S pt) |
Modifier and Type | Method and Description |
---|---|
protected AbstractRegionBSPTree.RegionSizeProperties<Point1S> |
RegionBSPTree1S.computeRegionSizeProperties() |
HyperplaneConvexSubset<Point1S> |
CutAngle.span() |
Modifier and Type | Method and Description |
---|---|
Point1S |
Point1S.above(Point1S base)
Return an equivalent point with an azimuth value at or above the given base.
|
Point1S |
Transform1S.apply(Point1S pt) |
HyperplaneLocation |
CutAngle.classify(Point1S pt) |
RegionLocation |
AngularInterval.classify(Point1S pt) |
static CutAngle |
CutAngles.createNegativeFacing(Point1S point,
Precision.DoubleEquivalence precision)
Create a new instance at the given point, oriented so that the plus side of the hyperplane points
toward decreasing angular values.
|
static CutAngle |
CutAngles.createPositiveFacing(Point1S point,
Precision.DoubleEquivalence precision)
Create a new instance at the given point, oriented so that the plus side of the hyperplane points
toward increasing angular values.
|
double |
Point1S.distance(Point1S point) |
static double |
Point1S.distance(Point1S p1,
Point1S p2)
Compute the shortest distance (angular separation) between two points.
|
boolean |
Point1S.eq(Point1S other,
Precision.DoubleEquivalence precision)
Return true if this instance is equivalent to the argument.
|
static CutAngle |
CutAngles.fromPointAndDirection(Point1S point,
boolean positiveFacing,
Precision.DoubleEquivalence precision)
Create a new instance from the given point and direction.
|
static AngularInterval |
AngularInterval.of(Point1S min,
Point1S max,
Precision.DoubleEquivalence precision)
Return an instance representing the angular interval between the given min and max azimuth
points.
|
static AngularInterval.Convex |
AngularInterval.Convex.of(Point1S min,
Point1S max,
Precision.DoubleEquivalence precision)
Return an instance representing the convex angular interval between the given min and max azimuth
points.
|
double |
CutAngle.offset(Point1S pt) |
Point1S |
CutAngle.project(Point1S pt) |
Point1S |
RegionBSPTree1S.project(Point1S pt) |
Point1S |
AngularInterval.project(Point1S pt) |
double |
Point1S.signedDistance(Point1S point)
Return the signed distance (angular separation) between this instance and the
given point in the range
[-pi, pi) . |
static double |
Point1S.signedDistance(Point1S p1,
Point1S p2)
Compute the signed shortest distance (angular separation) between two points.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CutAngle.similarOrientation(Hyperplane<Point1S> other) |
Split<RegionBSPTree1S> |
RegionBSPTree1S.split(Hyperplane<Point1S> splitter) |
Split<RegionBSPTree1S> |
AngularInterval.split(Hyperplane<Point1S> splitter) |
CutAngle |
CutAngle.transform(Transform<Point1S> transform) |
void |
RegionBSPTree1S.transform(Transform<Point1S> transform) |
AngularInterval |
AngularInterval.transform(Transform<Point1S> transform)
Return a new instance transformed by the argument.
|
AngularInterval.Convex |
AngularInterval.Convex.transform(Transform<Point1S> transform)
Return a new instance transformed by the argument.
|
Modifier and Type | Method and Description |
---|---|
Point1S |
GreatCircle.toSubspace(Point2S point) |
Point1S |
GreatCircleSubset.toSubspace(Point2S pt) |
Modifier and Type | Method and Description |
---|---|
abstract HyperplaneBoundedRegion<Point1S> |
GreatCircleSubset.getSubspaceRegion() |
Modifier and Type | Method and Description |
---|---|
GreatArc |
GreatCircle.arc(Point1S start,
Point1S end)
Create an arc on this circle between the given subspace points.
|
Point2S |
GreatCircle.toSpace(Point1S point) |
Point2S |
GreatCircleSubset.toSpace(Point1S pt) |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.