Uses of Class
org.apache.commons.geometry.spherical.oned.Point1S
Packages that use Point1S
Package
Description
This package provides basic geometry components on the 1-sphere.
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 Point1SModifier and TypeFieldDescriptionprivate final Point1SAngularInterval.midpointPoint halfway between the min and max boundaries.static final Point1SPoint1S.NaNA point with all coordinates set to NaN.static final Point1SPoint1S.PIA point with coordinates set topi.private final Point1SCutAngle.pointHyperplane location as a point.static final Point1SPoint1S.ZEROA point with coordinates set to0*pi.Fields in org.apache.commons.geometry.spherical.oned with type parameters of type Point1SModifier and TypeFieldDescriptionstatic final Comparator<Point1S> Comparator that sorts points by normalized azimuth in ascending order.Methods in org.apache.commons.geometry.spherical.oned that return Point1SModifier and TypeMethodDescriptionPoint1S.above(double base) Return an equivalent point with an azimuth value at or above the given base value in radians.Return an equivalent point with an azimuth value at or above the given base.Point1S.antipodal()Get the point exactly opposite this point on the circle,pidistance away.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 Point1SRegionBSPTree1S.BoundaryProjector1S.disambiguateClosestPoint(Point1S target, Point1S a, Point1S b) Method used to determine which of pointsaandbshould be considered as the "closest" point totargetwhen the points are exactly equidistant.static Point1SPoint1S.from(PolarCoordinates polar) Create a new point instance containing an azimuth value equal to that of the given set of polar coordinates.static Point1SCreate a new point instance from the given Euclidean 2D vector.AngularInterval.getCentroid()Get the centroid, or geometric center, of the region or null if no centroid exists or one exists but is not unique.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.AngularInterval.getMidPoint()Get the midpoint of the interval or null if the interval represents the full space.CutAngle.getPoint()Get the location of the hyperplane as a point.static Point1SPoint1S.of(double azimuth) Create a new point instance from the given azimuth angle.static Point1SPoint1S.of(org.apache.commons.numbers.angle.Angle azimuth) Create a new point instance from the given azimuth angle.static Point1SParse the given string and returns a new point instance.Project a point onto the boundary of the region.Project a point onto this instance.Project a point onto the boundary of the region.Methods in org.apache.commons.geometry.spherical.oned that return types with arguments of type Point1SModifier and TypeMethodDescriptionRegionBSPTree1S.computeRegionSizeProperties()Compute the size-related properties of the region.CutAngle.span()Return aHyperplaneConvexSubsetspanning this entire hyperplane.Methods in org.apache.commons.geometry.spherical.oned with parameters of type Point1SModifier and TypeMethodDescriptionReturn an equivalent point with an azimuth value at or above the given base.Classify the given point with respect to the region.Classify a point with respect to this hyperplane.Classify a point with respect to the subset region.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, BiFunction<? super CutAngle, ? super CutAngle, T> factory, T fullSpace) Internal method to create an interval between the given min and max points.static CutAngleCutAngles.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 CutAngleCutAngles.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 Point1SRegionBSPTree1S.BoundaryProjector1S.disambiguateClosestPoint(Point1S target, Point1S a, Point1S b) Method used to determine which of pointsaandbshould be considered as the "closest" point totargetwhen the points are exactly equidistant.doubleCompute the distance between this point and another point.static doubleCompute the shortest distance (angular separation) between two points.booleanReturn true if this instance is equivalent to the argument.static CutAngleCutAngles.fromPointAndDirection(Point1S point, boolean positiveFacing, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance from the given point and direction.protected booleanRegionBSPTree1S.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.ConvexAngularInterval.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 AngularIntervalAngularInterval.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.doubleGet the offset (oriented distance) of a point with respect to this instance.Project a point onto the boundary of the region.Project a point onto this instance.Project a point onto the boundary of the region.doublePoint1S.signedDistance(Point1S point) Return the signed distance (angular separation) between this instance and the given point in the range[-pi, pi).static doublePoint1S.signedDistance(Point1S p1, Point1S p2) Compute the signed shortest distance (angular separation) between two points.private static voidAngularInterval.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 Point1SModifier and TypeMethodDescriptionprotected booleanRegionBSPTree1S.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.booleanCutAngle.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.AngularInterval.split(Hyperplane<Point1S> splitter) Split this instance with the given hyperplane.CutAngle.CutAngleConvexSubset.split(Hyperplane<Point1S> splitter) Split this instance with the given hyperplane.RegionBSPTree1S.split(Hyperplane<Point1S> splitter) Split this instance with the given hyperplane.Return a new instance transformed by the argument.Return a new instance transformed by the argument.private static <T extends AngularInterval>
TAngularInterval.transform(T interval, Transform<Point1S> transform, 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.Return a new hyperplane subset resulting from the application of the given transform.Transform this instance using the givenTransform.voidTransform this tree.Constructors in org.apache.commons.geometry.spherical.oned with parameters of type Point1SModifierConstructorDescription(package private)BoundaryProjector1S(Point1S point) Simple constructor.(package private)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 Point1SModifierConstructorDescriptionprivateSimple constructor. -
Uses of Point1S in org.apache.commons.geometry.spherical.twod
Methods in org.apache.commons.geometry.spherical.twod that return Point1SModifier and TypeMethodDescriptionGreatCircle.toSubspace(Point2S point) Transform a space point into a subspace point.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 Point1SModifier and TypeMethodDescriptionabstract HyperplaneBoundedRegion<Point1S> GreatCircleSubset.getSubspaceRegion()Get the embedded subspace region.Methods in org.apache.commons.geometry.spherical.twod with parameters of type Point1SModifier and TypeMethodDescriptionCreate an arc on this circle between the given subspace points.Transform a subspace point into a space point.Transform a subspace point into a space point.