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 Point1SAngularInterval. midpointPoint halfway between the min and max boundaries.static Point1SPoint1S. NaNA point with all coordinates set to NaN.static Point1SPoint1S. PIA point with coordinates set topi.private Point1SCutAngle. pointHyperplane location as a point.static Point1SPoint1S. ZEROA 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_ORDERComparator 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 Point1SPoint1S. above(double base)Return an equivalent point with an azimuth value at or above the given base value in radians.Point1SPoint1S. above(Point1S base)Return an equivalent point with an azimuth value at or above the given base.Point1SPoint1S. antipodal()Get the point exactly opposite this point on the circle,pidistance away.Point1STransform1S. apply(Point1S pt)Point1SCutAngle.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 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 Point1SPoint1S. from(Vector2D vector)Create a new point instance from the given Euclidean 2D vector.Point1SAngularInterval. getCentroid()Get the centroid, or geometric center, of the region or null if no centroid exists or one exists but is not unique.Point1SCutAngle.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.Point1SAngularInterval. getMidPoint()Get the midpoint of the interval or null if the interval represents the full space.Point1SCutAngle. 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 Point1SPoint1S. parse(java.lang.String str)Parse the given string and returns a new point instance.Point1SAngularInterval. project(Point1S pt)Project a point onto the boundary of the region.Point1SCutAngle. project(Point1S pt)Project a point onto this instance.Point1SRegionBSPTree1S. 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 aHyperplaneConvexSubsetspanning this entire hyperplane.Methods in org.apache.commons.geometry.spherical.oned with parameters of type Point1S Modifier and Type Method Description Point1SPoint1S. above(Point1S base)Return an equivalent point with an azimuth value at or above the given base.Point1STransform1S. apply(Point1S pt)RegionLocationAngularInterval. classify(Point1S pt)Classify the given point with respect to the region.HyperplaneLocationCutAngle. classify(Point1S pt)Classify a point with respect to this hyperplane.RegionLocationCutAngle.CutAngleConvexSubset. classify(Point1S point)Classify a point with respect to the subset region.Point1SCutAngle.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 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.doublePoint1S. distance(Point1S point)Compute the distance between this point and another point.static doublePoint1S. distance(Point1S p1, Point1S p2)Compute the shortest distance (angular separation) between two points.booleanPoint1S. eq(Point1S other, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)Return 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.doubleCutAngle. offset(Point1S pt)Get the offset (oriented distance) of a point with respect to this instance.Point1SAngularInterval. project(Point1S pt)Project a point onto the boundary of the region.Point1SCutAngle. project(Point1S pt)Project a point onto this instance.Point1SRegionBSPTree1S. project(Point1S pt)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 Point1S Modifier and Type Method Description 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.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.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.ConvexAngularInterval.Convex. transform(Transform<Point1S> transform)Return a new instance transformed by the argument.AngularIntervalAngularInterval. 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.CutAngleConvexSubsetCutAngle.CutAngleConvexSubset. transform(Transform<Point1S> transform)Return a new hyperplane subset resulting from the application of the given transform.CutAngleCutAngle. transform(Transform<Point1S> transform)Transform this instance using the givenTransform.voidRegionBSPTree1S. 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 Point1SGreatCircle. toSubspace(Point2S point)Transform a space point into a subspace point.Point1SGreatCircleSubset. 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 GreatArcGreatCircle. arc(Point1S start, Point1S end)Create an arc on this circle between the given subspace points.Point2SGreatCircle. toSpace(Point1S point)Transform a subspace point into a space point.Point2SGreatCircleSubset. toSpace(Point1S pt)Transform a subspace point into a space point.
-