Uses of Class
org.apache.commons.geometry.spherical.oned.Point1S
-
Packages that use Point1S 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. -
-
Uses of Point1S in org.apache.commons.geometry.spherical.oned
Fields in org.apache.commons.geometry.spherical.oned declared as Point1S Modifier and Type Field Description private Point1S
AngularInterval. midpoint
Point halfway between the min and max boundaries.static Point1S
Point1S. NaN
A point with all coordinates set to NaN.static Point1S
Point1S. PI
A point with coordinates set topi
.private Point1S
CutAngle. point
Hyperplane location as a point.static Point1S
Point1S. ZERO
A point with coordinates set to0*pi
.Fields in org.apache.commons.geometry.spherical.oned with type parameters of type Point1S Modifier and Type Field Description static java.util.Comparator<Point1S>
Point1S. NORMALIZED_AZIMUTH_ASCENDING_ORDER
Comparator that sorts points by normalized azimuth in ascending order.Methods in org.apache.commons.geometry.spherical.oned that return Point1S Modifier and Type Method 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)
Point1S
CutAngle.CutAngleConvexSubset. closest(Point1S point)
Return the closest point to the argument that is contained in the subset (ie, not classified asoutside
), or null if no such point exists.protected Point1S
RegionBSPTree1S.BoundaryProjector1S. disambiguateClosestPoint(Point1S target, Point1S a, Point1S b)
Method used to determine which of pointsa
andb
should be considered as the "closest" point totarget
when the points are exactly equidistant.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()
Get the centroid, or geometric center, of the region or null if no centroid exists or one exists but is not unique.Point1S
CutAngle.CutAngleConvexSubset. getCentroid()
Get the centroid, or geometric center, of the hyperplane subset or null if no centroid exists or one exists but is not unique.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(double azimuth)
Create a new point instance from the given azimuth angle.static Point1S
Point1S. of(org.apache.commons.numbers.angle.Angle azimuth)
Create a new point instance from the given azimuth angle.static Point1S
Point1S. parse(java.lang.String str)
Parse the given string and returns a new point instance.Point1S
AngularInterval. project(Point1S pt)
Project a point onto the boundary of the region.Point1S
CutAngle. project(Point1S pt)
Project a point onto this instance.Point1S
RegionBSPTree1S. project(Point1S pt)
Project a point onto the boundary of the region.Methods in org.apache.commons.geometry.spherical.oned that return types with arguments of type Point1S Modifier and Type Method Description protected AbstractRegionBSPTree.RegionSizeProperties<Point1S>
RegionBSPTree1S. computeRegionSizeProperties()
Compute the size-related properties of the region.HyperplaneConvexSubset<Point1S>
CutAngle. span()
Return aHyperplaneConvexSubset
spanning this entire hyperplane.Methods in org.apache.commons.geometry.spherical.oned with parameters of type Point1S Modifier and Type Method 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)
RegionLocation
AngularInterval. classify(Point1S pt)
Classify the given point with respect to the region.HyperplaneLocation
CutAngle. classify(Point1S pt)
Classify a point with respect to this hyperplane.RegionLocation
CutAngle.CutAngleConvexSubset. classify(Point1S point)
Classify a point with respect to the subset region.Point1S
CutAngle.CutAngleConvexSubset. closest(Point1S point)
Return the closest point to the argument that is contained in the subset (ie, not classified asoutside
), or null if no such point exists.private static <T extends AngularInterval>
TAngularInterval. createInterval(Point1S min, Point1S max, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision, java.util.function.BiFunction<? super CutAngle,? super CutAngle,T> factory, T fullSpace)
Internal method to create an interval between the given min and max points.static CutAngle
CutAngles. createNegativeFacing(Point1S point, org.apache.commons.numbers.core.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, org.apache.commons.numbers.core.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.protected Point1S
RegionBSPTree1S.BoundaryProjector1S. disambiguateClosestPoint(Point1S target, Point1S a, Point1S b)
Method used to determine which of pointsa
andb
should be considered as the "closest" point totarget
when the points are exactly equidistant.double
Point1S. distance(Point1S point)
Compute the distance between this point and another point.static double
Point1S. distance(Point1S p1, Point1S p2)
Compute the shortest distance (angular separation) between two points.boolean
Point1S. eq(Point1S other, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return true if this instance is equivalent to the argument.static CutAngle
CutAngles. fromPointAndDirection(Point1S point, boolean positiveFacing, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Create a new instance from the given point and direction.protected boolean
RegionBSPTree1S.BoundaryProjector1S. isPossibleClosestCut(HyperplaneSubset<Point1S> cut, Point1S target, double minDist)
Return true if the given node cut is a possible candidate for containing the closest region boundary point to the target.static AngularInterval.Convex
AngularInterval.Convex. of(Point1S min, Point1S max, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return an instance representing the convex angular interval between the given min and max azimuth points.static AngularInterval
AngularInterval. of(Point1S min, Point1S max, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return an instance representing the angular interval between the given min and max azimuth points.double
CutAngle. offset(Point1S pt)
Get the offset (oriented distance) of a point with respect to this instance.Point1S
AngularInterval. project(Point1S pt)
Project a point onto the boundary of the region.Point1S
CutAngle. project(Point1S pt)
Project a point onto this instance.Point1S
RegionBSPTree1S. project(Point1S pt)
Project a point onto the boundary of the region.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.private static void
AngularInterval. validateIntervalValues(Point1S a, Point1S b)
Validate that the given points can be used to specify an angular interval.Method parameters in org.apache.commons.geometry.spherical.oned with type arguments of type Point1S Modifier and Type Method Description protected boolean
RegionBSPTree1S.BoundaryProjector1S. isPossibleClosestCut(HyperplaneSubset<Point1S> cut, Point1S target, double minDist)
Return true if the given node cut is a possible candidate for containing the closest region boundary point to the target.boolean
CutAngle. similarOrientation(Hyperplane<Point1S> other)
Return true if this instance has a similar orientation to the given hyperplane, meaning that they point in generally the same direction.Split<RegionBSPTree1S>
AngularInterval. split(Hyperplane<Point1S> splitter)
Split this instance with the given hyperplane.Split<CutAngle.CutAngleConvexSubset>
CutAngle.CutAngleConvexSubset. split(Hyperplane<Point1S> splitter)
Split this instance with the given hyperplane.Split<RegionBSPTree1S>
RegionBSPTree1S. split(Hyperplane<Point1S> splitter)
Split this instance with the given hyperplane.AngularInterval.Convex
AngularInterval.Convex. transform(Transform<Point1S> transform)
Return a new instance transformed by the argument.AngularInterval
AngularInterval. transform(Transform<Point1S> transform)
Return a new instance transformed by the argument.private static <T extends AngularInterval>
TAngularInterval. transform(T interval, Transform<Point1S> transform, java.util.function.BiFunction<? super CutAngle,? super CutAngle,T> factory)
Internal transform method that transforms the given instance, using the factory method to create a new instance if needed.CutAngle.CutAngleConvexSubset
CutAngle.CutAngleConvexSubset. transform(Transform<Point1S> transform)
Return a new hyperplane subset resulting from the application of the given transform.CutAngle
CutAngle. transform(Transform<Point1S> transform)
Transform this instance using the givenTransform
.void
RegionBSPTree1S. transform(Transform<Point1S> transform)
Transform this tree.Constructors in org.apache.commons.geometry.spherical.oned with parameters of type Point1S Constructor Description BoundaryProjector1S(Point1S point)
Simple constructor.CutAngle(Point1S point, boolean positiveFacing, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Simple constructor.Constructor parameters in org.apache.commons.geometry.spherical.oned with type arguments of type Point1S Constructor Description RegionNode1S(AbstractBSPTree<Point1S,RegionBSPTree1S.RegionNode1S> tree)
Simple constructor. -
Uses of Point1S in org.apache.commons.geometry.spherical.twod
Methods in org.apache.commons.geometry.spherical.twod that return Point1S Modifier and Type Method Description Point1S
GreatCircle. toSubspace(Point2S point)
Transform a space point into a subspace point.Point1S
GreatCircleSubset. toSubspace(Point2S pt)
Transform a space point into a subspace point.Methods in org.apache.commons.geometry.spherical.twod that return types with arguments of type Point1S Modifier and Type Method Description abstract HyperplaneBoundedRegion<Point1S>
GreatCircleSubset. getSubspaceRegion()
Get the embedded subspace region.Methods in org.apache.commons.geometry.spherical.twod with parameters of type Point1S Modifier and Type Method Description GreatArc
GreatCircle. arc(Point1S start, Point1S end)
Create an arc on this circle between the given subspace points.Point2S
GreatCircle. toSpace(Point1S point)
Transform a subspace point into a space point.Point2S
GreatCircleSubset. toSpace(Point1S pt)
Transform a subspace point into a space point.
-