Uses of Class
org.apache.commons.geometry.spherical.twod.Point2S
Packages that use Point2S
Package
Description
This package provides basic geometry components on the 2-sphere.
-
Uses of Point2S in org.apache.commons.geometry.spherical.twod
Subclasses with type arguments of type Point2S in org.apache.commons.geometry.spherical.twodModifier and TypeClassDescriptionclassBoundarySource2Simplementation that uses boundaries stored in a list.final classClass representing a convex area in 2D spherical space.final classClass representing a great circle on the 2-sphere.classBSP tree representing regions in 2D spherical space.private static final classClass used to project points onto the region boundary.static final classBSP tree node for two dimensional spherical space.Classes in org.apache.commons.geometry.spherical.twod that implement interfaces with type arguments of type Point2SModifier and TypeClassDescriptionfinal classClass representing a single, convex angular interval in aGreatCircle.final classClass representing a great circle on the 2-sphere.classClass representing a subset of the points in a great circle.classClass representing a subset of the points in a great circle.final classThis class represents a point on the 2-sphere.final classImplementation of theTransforminterface for spherical 2D points.Fields in org.apache.commons.geometry.spherical.twod declared as Point2SModifier and TypeFieldDescriptionprivate Point2SGreatArcPath.Builder.endVertexThe current point at the end of the path.static final Point2SPoint2S.MINUS_I-I (coordinates: ( azimuth = pi, polar = pi/2 )).static final Point2SPoint2S.MINUS_J-J (coordinates: ( azimuth = 3pi/2, polar = pi/2 )).static final Point2SPoint2S.MINUS_K-K (coordinates: ( azimuth = any angle, polar = pi )).static final Point2SPoint2S.NaNA point with all coordinates set to NaN.static final Point2SPoint2S.PLUS_I+I (coordinates: ( azimuth = 0, polar = pi/2 )).static final Point2SPoint2S.PLUS_J+J (coordinates: ( azimuth = pi/2, polar = pi/2 ))).static final Point2SPoint2S.PLUS_K+K (coordinates: ( azimuth = any angle, polar = 0 )).private final Point2SAbstractGreatArcConnector.ConnectableGreatArc.startSegment start point.private Point2SGreatArcPath.Builder.startVertexThe current point at the start of the path.Fields in org.apache.commons.geometry.spherical.twod with type parameters of type Point2SModifier and TypeFieldDescriptionstatic final Comparator<Point2S> Point2S.POLAR_AZIMUTH_ASCENDING_ORDERComparator that sorts points in component-wise ascending order, first sorting by polar value and then by azimuth value.Methods in org.apache.commons.geometry.spherical.twod that return Point2SModifier and TypeMethodDescriptionPoint2S.antipodal()Get the point exactly opposite this point on the sphere.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 Point2SRegionBSPTree2S.BoundaryProjector2S.disambiguateClosestPoint(Point2S target, Point2S a, Point2S b) Method used to determine which of pointsaandbshould be considered as the "closest" point totargetwhen the points are exactly equidistant.static Point2SBuild a point from its underlying 3D vector.ConvexArea2S.getCentroid()Get the centroid, or geometric center, of the region or null if no centroid exists or one exists but is not unique.GreatCircleSubset.getCentroid()Get the centroid, or geometric center, of the hyperplane subset or null if no centroid exists or one exists but is not unique.GreatArc.getEndPoint()Return the end point of the arc, or null if the arc represents the full space.GreatArcPath.getEndVertex()Get the end vertex for the path or null if the path is empty or consists of a single, full arc.GreatArc.getMidPoint()Return the midpoint of the arc, or null if the arc represents the full space.GreatCircle.getPolePoint()Get the spherical point located at the positive pole of the instance.GreatArc.getStartPoint()Return the start point of the arc, or null if the arc represents the full space.GreatArcPath.getStartVertex()Get the start vertex for the path or null if the path is empty or consists of a single, full arc.GreatCircle.intersection(GreatCircle other) Return one of the two intersection points between this instance and the argument.static Point2SPoint2S.of(double azimuth, double polar) Build a vector from its spherical coordinates.static Point2SParses the given string and returns a new point instance.Project a point onto this instance.Project a point onto the boundary of the region.Spherically interpolate a point along the shortest arc between this point and the given point.Transform a subspace point into a space point.Transform a subspace point into a space point.Methods in org.apache.commons.geometry.spherical.twod that return types with arguments of type Point2SModifier and TypeMethodDescriptionRegionBSPTree2S.computeRegionSizeProperties()Compute the size-related properties of the region.GreatArcPath.getVertices()Get the vertices contained in the path in the order they appear.Methods in org.apache.commons.geometry.spherical.twod with parameters of type Point2SModifier and TypeMethodDescriptiondoubleGreatCircle.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.Add a vertex to the end of this path.GreatArcPath.Builder.appendVertices(Point2S... vertices) Convenience method for appending multiple vertices to the path at once.Create an arc on this circle between the given points.static GreatArcGreatCircles.arcFromPoints(Point2S start, Point2S end, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct an arc along the shortest path between the given points.doubleGet the azimuth angle of a point relative to this great circle instance, in the range[0, 2pi).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.static Transform2STransform2S.createReflection(Point2S pole) Create a transform that performs a reflection across the equatorial plane defined by the given pole point.static Transform2STransform2S.createRotation(Point2S pt, double angle) Create a transform that rotates the given angle aroundpt.protected Point2SRegionBSPTree2S.BoundaryProjector2S.disambiguateClosestPoint(Point2S target, Point2S a, Point2S 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 distance (angular separation) between two points.booleanReturn true if this point should be considered equivalent to the argument using the given precision context.static GreatCircleGreatCircles.fromPoints(Point2S a, Point2S b, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a great circle instance from two points on the circle.doubleGet the offset (oriented distance) of a point with respect to this instance.Add a vertex to the front of this path.GreatArcPath.Builder.prependPoints(Point2S... vertices) Convenience method for prepending multiple vertices to the path in a single method call.Project a point onto this instance.Project a point onto the boundary of the region.Apply a reflection across the equatorial plane defined by the given pole point to this instance.Apply a rotation ofangleradians around the given point to this instance.Spherically interpolate a point along the shortest arc between this point and the given point.GreatCircle.toSubspace(Point2S point) Transform a space point into a subspace point.GreatCircleSubset.toSubspace(Point2S pt) Transform a space point into a subspace point.Method parameters in org.apache.commons.geometry.spherical.twod with type arguments of type Point2SModifier and TypeMethodDescriptionGreatArcPath.Builder.appendVertices(Collection<Point2S> vertices) Convenience method for appending a collection of vertices to the path in a single method call.static ConvexArea2SConvexArea2S.fromVertexLoop(Collection<Point2S> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct a convex area by creating great circles between adjacent vertices.static GreatArcPathGreatArcPath.fromVertexLoop(Collection<Point2S> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return a new path formed by connecting the given vertices.static ConvexArea2SConvexArea2S.fromVertices(Collection<Point2S> vertices, boolean close, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct a convex area from great circles between adjacent vertices.static ConvexArea2SConvexArea2S.fromVertices(Collection<Point2S> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct a convex area by creating great circles between adjacent vertices.static GreatArcPathGreatArcPath.fromVertices(Collection<Point2S> vertices, boolean close, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return a new path formed by connecting the given vertices.static GreatArcPathGreatArcPath.fromVertices(Collection<Point2S> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return a new path formed by connecting the given vertices.GreatArcPath.Builder.prependPoints(Collection<Point2S> vertices) Convenience method for prepending a collection of vertices to the path in a single method call.booleanGreatCircle.similarOrientation(Hyperplane<Point2S> other) Return true if this instance has a similar orientation to the given hyperplane, meaning that they point in generally the same direction.ConvexArea2S.split(Hyperplane<Point2S> splitter) Split this instance with the given hyperplane.EmbeddedTreeGreatCircleSubset.split(Hyperplane<Point2S> splitter) Split this instance with the given hyperplane.GreatArc.split(Hyperplane<Point2S> splitter) Split this instance with the given hyperplane.RegionBSPTree2S.split(Hyperplane<Point2S> splitter) Split this instance with the given hyperplane.Return a new instance transformed by the argument.Return a new hyperplane subset resulting from the application of the given transform.Return a new hyperplane subset resulting from the application of the given transform.Transform this instance using the givenTransform.ConvexArea2S.trim(HyperplaneConvexSubset<Point2S> sub) Trim the given hyperplane subset to the portion contained inside this instance.Constructors in org.apache.commons.geometry.spherical.twod with parameters of type Point2SModifierConstructorDescription(package private)BoundaryProjector2S(Point2S point) Simple constructor.ConnectableGreatArc(Point2S start) Create a new instance with the given start point.privateConnectableGreatArc(Point2S start, GreatArc arc) Create a new instance with the given start point and arc.Constructor parameters in org.apache.commons.geometry.spherical.twod with type arguments of type Point2SModifierConstructorDescriptionprivateSimple constructor.