Uses of Class
org.apache.commons.geometry.spherical.twod.GreatArc
-
Packages that use GreatArc Package Description org.apache.commons.geometry.spherical.twod 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 GreatArc Modifier and Type Field Description private GreatArc
AbstractGreatArcConnector.ConnectableGreatArc. arc
Great arc for this instance.Fields in org.apache.commons.geometry.spherical.twod with type parameters of type GreatArc Modifier and Type Field Description private java.util.List<GreatArc>
GreatArcPath.Builder. appendedArcs
Arcs appended to the path.private java.util.List<GreatArc>
GreatArcPath. arcs
Arcs comprising the instance.private java.util.List<GreatArc>
GreatArcPath.Builder. prependedArcs
Arcs prepended to the path.Methods in org.apache.commons.geometry.spherical.twod that return GreatArc Modifier and Type Method Description GreatArc
GreatCircle. arc(double start, double end)
Create an arc on this circle between the given subspace azimuth values.GreatArc
GreatCircle. arc(AngularInterval.Convex interval)
Create an arc on this circle consisting of the given subspace interval.GreatArc
GreatCircle. arc(Point1S start, Point1S end)
Create an arc on this circle between the given subspace points.GreatArc
GreatCircle. arc(Point2S start, Point2S end)
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.GreatArc
AbstractGreatArcConnector.ConnectableGreatArc. getArc()
Get the arc for the instance.GreatArc
GreatArcPath.Builder. getEndArc()
Get the arc at the end of the path or null if it does not exist.GreatArc
GreatArcPath. getEndArc()
Get the end arc for the path or null if the path is empty.private GreatArc
GreatArcPath.Builder. getFirst(java.util.List<GreatArc> list)
Get the first element in the list or null if the list is null or empty.private GreatArc
GreatArcPath.Builder. getLast(java.util.List<GreatArc> list)
Get the last element in the list or null if the list is null or empty.GreatArc
GreatArcPath.Builder. getStartArc()
Get the arc at the start of the path or null if it does not exist.GreatArc
GreatArcPath. getStartArc()
Get the start arc for the path or null if the path is empty.GreatArc
GreatArc. reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.GreatArc
GreatCircle. span()
Return aHyperplaneConvexSubset
spanning this entire hyperplane.GreatArc
GreatArc. transform(Transform<Point2S> transform)
Return a new hyperplane subset resulting from the application of the given transform.GreatArc
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 GreatArc Modifier and Type Method Description java.lang.Iterable<GreatArc>
RegionBSPTree2S. boundaries()
Return anIterable
for iterating over the boundaries of the region.java.util.stream.Stream<GreatArc>
ConvexArea2S. boundaryStream()
Return a stream containing the boundaries for this instance.java.util.stream.Stream<GreatArc>
GreatArcPath. boundaryStream()
Return a stream containing the boundaries for this instance.java.util.stream.Stream<GreatArc>
RegionBSPTree2S. boundaryStream()
Return a stream containing the boundaries for this instance.java.util.List<GreatArc>
GreatArcPath. getArcs()
Get the arcs in path.java.util.List<GreatArc>
RegionBSPTree2S. getBoundaries()
Return a list containing the boundaries of the region.Split<GreatArc>
GreatArc. split(Hyperplane<Point2S> splitter)
Split this instance with the given hyperplane.java.util.List<GreatArc>
EmbeddedTreeGreatCircleSubset. toConvex()
Convert this instance into a list of convex child subsets representing the same region.java.util.List<GreatArc>
GreatArc. toConvex()
Convert this instance into a list of convex child subsets representing the same region.abstract java.util.List<GreatArc>
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 GreatArc Modifier and Type Method Description void
AbstractGreatArcConnector. add(GreatArc arc)
Add an arc to the connector, leaving it unconnected until a later call to toAbstractGreatArcConnector.connect(Iterable)
orAbstractGreatArcConnector.connectAll()
.void
EmbeddedTreeGreatCircleSubset. add(GreatArc arc)
Add an arc to this instance.GreatArcPath.Builder
GreatArcPath.Builder. append(GreatArc arc)
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
GreatArcPath. fromArcs(GreatArc... arcs)
Construct a new path from the given arcs.static BoundarySource2S
BoundarySource2S. of(GreatArc... boundaries)
Return aBoundarySource2S
instance containing the given boundaries.GreatArcPath.Builder
GreatArcPath.Builder. prepend(GreatArc arc)
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 GreatArc Modifier and Type Method Description void
AbstractGreatArcConnector. add(java.lang.Iterable<GreatArc> arcs)
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(java.util.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(java.util.List<GreatArc> arcs)
Compute the weighted centroid vector for the triangle or polygon formed by the given arcs using a triangle fan approach.void
AbstractGreatArcConnector. connect(java.lang.Iterable<GreatArc> arcs)
Add a collection of arcs to the connector and attempt to connect each new arc with existing ones.java.util.List<GreatArcPath>
AbstractGreatArcConnector. connectAll(java.lang.Iterable<GreatArc> arcs)
Add the given arcs to this instance and connect all current arc into paths.static java.util.List<GreatArcPath>
InteriorAngleGreatArcConnector. connectMaximized(java.util.Collection<GreatArc> arcs)
Convenience method for connecting a set of arcs with interior angles maximized when possible.static java.util.List<GreatArcPath>
InteriorAngleGreatArcConnector. connectMinimized(java.util.Collection<GreatArc> arcs)
Convenience method for connecting a set of line segments with interior angles minimized when possible.static RegionBSPTree2S
RegionBSPTree2S. from(java.lang.Iterable<GreatArc> boundaries)
Construct a new tree from the given boundaries.static RegionBSPTree2S
RegionBSPTree2S. from(java.lang.Iterable<GreatArc> boundaries, boolean full)
Construct a new tree from the given boundaries.static GreatArcPath
GreatArcPath. fromArcs(java.util.Collection<GreatArc> arcs)
Construct a new path from the given arcs.private GreatArc
GreatArcPath.Builder. getFirst(java.util.List<GreatArc> list)
Get the first element in the list or null if the list is null or empty.private GreatArc
GreatArcPath.Builder. getLast(java.util.List<GreatArc> list)
Get the last element in the list or null if the list is null or empty.static BoundarySource2S
BoundarySource2S. of(java.util.Collection<GreatArc> boundaries)
Return aBoundarySource2S
instance containing the given boundaries.Constructors in org.apache.commons.geometry.spherical.twod with parameters of type GreatArc Constructor Description ConnectableGreatArc(GreatArc arc)
Create a new instance from the given arc.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 GreatArc Constructor Description BoundaryList2S(java.util.List<? extends GreatArc> boundaries)
Construct a new instance with the given list of boundaries.ConvexArea2S(java.util.List<GreatArc> boundaries)
Construct an instance from its boundaries.GreatArcPath(java.util.List<GreatArc> arcs)
Simple constructor.
-