Uses of Class
org.apache.commons.geometry.spherical.twod.GreatArc
Packages that use GreatArc
Package
Description
This package provides basic geometry components on the 2-sphere.
-
Uses of GreatArc in org.apache.commons.geometry.spherical.twod
Fields in org.apache.commons.geometry.spherical.twod declared as GreatArcModifier and TypeFieldDescriptionprivate final GreatArc
AbstractGreatArcConnector.ConnectableGreatArc.arc
Great arc for this instance.Fields in org.apache.commons.geometry.spherical.twod with type parameters of type GreatArcModifier and TypeFieldDescriptionGreatArcPath.Builder.appendedArcs
Arcs appended to the path.GreatArcPath.arcs
Arcs comprising the instance.GreatArcPath.Builder.prependedArcs
Arcs prepended to the path.Methods in org.apache.commons.geometry.spherical.twod that return GreatArcModifier and TypeMethodDescriptionGreatCircle.arc
(double start, double end) Create an arc on this circle between the given subspace azimuth values.GreatCircle.arc
(AngularInterval.Convex interval) Create an arc on this circle consisting of the given subspace interval.Create an arc on this circle between the given subspace points.Create an arc on this circle between the given points.static GreatArc
GreatCircles.arcFromInterval
(GreatCircle circle, AngularInterval.Convex interval) Construct an arc from a great circle and an angular interval.static GreatArc
GreatCircles.arcFromPoints
(Point2S start, Point2S end, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct an arc along the shortest path between the given points.AbstractGreatArcConnector.ConnectableGreatArc.getArc()
Get the arc for the instance.GreatArcPath.Builder.getEndArc()
Get the arc at the end of the path or null if it does not exist.GreatArcPath.getEndArc()
Get the end arc for the path or null if the path is empty.private GreatArc
Get the first element in the list or null if the list is null or empty.private GreatArc
Get the last element in the list or null if the list is null or empty.GreatArcPath.Builder.getStartArc()
Get the arc at the start of the path or null if it does not exist.GreatArcPath.getStartArc()
Get the start arc for the path or null if the path is empty.GreatArc.reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.GreatCircle.span()
Return aHyperplaneConvexSubset
spanning this entire hyperplane.Return a new hyperplane subset resulting from the application of the given transform.ConvexArea2S.trim
(HyperplaneConvexSubset<Point2S> sub) Trim the given hyperplane subset to the portion contained inside this instance.Methods in org.apache.commons.geometry.spherical.twod that return types with arguments of type GreatArcModifier and TypeMethodDescriptionRegionBSPTree2S.boundaries()
Return anIterable
for iterating over the boundaries of the region.ConvexArea2S.boundaryStream()
Return a stream containing the boundaries for this instance.GreatArcPath.boundaryStream()
Return a stream containing the boundaries for this instance.RegionBSPTree2S.boundaryStream()
Return a stream containing the boundaries for this instance.GreatArcPath.getArcs()
Get the arcs in path.RegionBSPTree2S.getBoundaries()
Return a list containing the boundaries of the region.GreatArc.split
(Hyperplane<Point2S> splitter) Split this instance with the given hyperplane.EmbeddedTreeGreatCircleSubset.toConvex()
Convert this instance into a list of convex child subsets representing the same region.GreatArc.toConvex()
Convert this instance into a list of convex child subsets representing the same region.GreatCircleSubset.toConvex()
Convert this instance into a list of convex child subsets representing the same region.Methods in org.apache.commons.geometry.spherical.twod with parameters of type GreatArcModifier and TypeMethodDescriptionvoid
Add an arc to the connector, leaving it unconnected until a later call to toAbstractGreatArcConnector.connect(Iterable)
orAbstractGreatArcConnector.connectAll()
.void
Add an arc to this instance.Append an arc to the end of the path.private void
GreatArcPath.Builder.appendInternal
(GreatArc arc) Append the given, validated arc to the path.private static Vector3D
ConvexArea2S.computeHemisphereWeightedCentroidVector
(GreatArc arc) Compute the weighted centroid vector for the hemisphere formed by the given arc.private static Vector3D
ConvexArea2S.computeLuneWeightedCentroidVector
(GreatArc a, GreatArc b) Compute the weighted centroid vector for the lune formed by the given arcs.static GreatArcPath
Construct a new path from the given arcs.static BoundarySource2S
Return aBoundarySource2S
instance containing the given boundaries.Prepend an arc to the beginning of the path.private void
GreatArcPath.Builder.prependInternal
(GreatArc arc) Prepend the given, validated arc to the path.private void
GreatArcPath.Builder.validateArcsConnected
(GreatArc previous, GreatArc next) Validate that the given arcs are connected, meaning that the end point ofprevious
is equivalent to the start point ofnext
.Method parameters in org.apache.commons.geometry.spherical.twod with type arguments of type GreatArcModifier and TypeMethodDescriptionvoid
Add a collection of arcs to the connector, leaving them unconnected until a later call toAbstractGreatArcConnector.connect(Iterable)
orAbstractGreatArcConnector.connectAll()
.private static Vector3D
ConvexArea2S.computeArcPoleWeightedCentroidVector
(List<GreatArc> arcs) Compute the weighted centroid vector for the triangle or polygon formed by the given arcs by adding together the arc pole vectors multiplied by their respective arc lengths.private static Vector3D
ConvexArea2S.computeTriangleFanWeightedCentroidVector
(List<GreatArc> arcs) Compute the weighted centroid vector for the triangle or polygon formed by the given arcs using a triangle fan approach.void
Add a collection of arcs to the connector and attempt to connect each new arc with existing ones.AbstractGreatArcConnector.connectAll
(Iterable<GreatArc> arcs) Add the given arcs to this instance and connect all current arc into paths.static List
<GreatArcPath> InteriorAngleGreatArcConnector.connectMaximized
(Collection<GreatArc> arcs) Convenience method for connecting a set of arcs with interior angles maximized when possible.static List
<GreatArcPath> InteriorAngleGreatArcConnector.connectMinimized
(Collection<GreatArc> arcs) Convenience method for connecting a set of line segments with interior angles minimized when possible.static RegionBSPTree2S
Construct a new tree from the given boundaries.static RegionBSPTree2S
Construct a new tree from the given boundaries.static GreatArcPath
GreatArcPath.fromArcs
(Collection<GreatArc> arcs) Construct a new path from the given arcs.private GreatArc
Get the first element in the list or null if the list is null or empty.private GreatArc
Get the last element in the list or null if the list is null or empty.static BoundarySource2S
BoundarySource2S.of
(Collection<GreatArc> boundaries) Return aBoundarySource2S
instance containing the given boundaries.Constructors in org.apache.commons.geometry.spherical.twod with parameters of type GreatArcModifierConstructorDescriptionCreate a new instance from the given arc.private
ConnectableGreatArc
(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 GreatArcModifierConstructorDescriptionBoundaryList2S
(List<? extends GreatArc> boundaries) Construct a new instance with the given list of boundaries.private
ConvexArea2S
(List<GreatArc> boundaries) Construct an instance from its boundaries.private
GreatArcPath
(List<GreatArc> arcs) Simple constructor.