Package | Description |
---|---|
org.apache.commons.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Method and Description |
---|---|
GreatArc |
GreatCircle.arc(AngularInterval.Convex interval)
Create an arc on this circle consisting of the given subspace interval.
|
GreatArc |
GreatCircle.arc(double start,
double end)
Create an arc on this circle between the given subspace azimuth values.
|
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,
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.getEndArc()
Get the end arc for the path or null if the path is empty.
|
GreatArc |
GreatArcPath.Builder.getEndArc()
Get the arc at the end 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 |
GreatArcPath.Builder.getStartArc()
Get the arc at the start of the path or null if it does not exist.
|
GreatArc |
GreatArc.reverse() |
GreatArc |
GreatCircle.span() |
GreatArc |
GreatArc.transform(Transform<Point2S> transform) |
GreatArc |
ConvexArea2S.trim(HyperplaneConvexSubset<Point2S> sub) |
Modifier and Type | Method and Description |
---|---|
Iterable<GreatArc> |
RegionBSPTree2S.boundaries() |
Stream<GreatArc> |
RegionBSPTree2S.boundaryStream() |
Stream<GreatArc> |
ConvexArea2S.boundaryStream() |
Stream<GreatArc> |
GreatArcPath.boundaryStream() |
List<GreatArc> |
GreatArcPath.getArcs()
Get the arcs in path.
|
List<GreatArc> |
RegionBSPTree2S.getBoundaries() |
Split<GreatArc> |
GreatArc.split(Hyperplane<Point2S> splitter) |
List<GreatArc> |
GreatArc.toConvex() |
List<GreatArc> |
EmbeddedTreeGreatCircleSubset.toConvex() |
abstract List<GreatArc> |
GreatCircleSubset.toConvex() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGreatArcConnector.add(GreatArc arc)
Add an arc to the connector, leaving it unconnected until a later call to
to
AbstractGreatArcConnector.connect(Iterable) or AbstractGreatArcConnector.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.
|
static GreatArcPath |
GreatArcPath.fromArcs(GreatArc... arcs)
Construct a new path from the given arcs.
|
static BoundarySource2S |
BoundarySource2S.of(GreatArc... boundaries)
Return a
BoundarySource2S instance containing the given boundaries. |
GreatArcPath.Builder |
GreatArcPath.Builder.prepend(GreatArc arc)
Prepend an arc to the beginning of the path.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGreatArcConnector.add(Iterable<GreatArc> arcs)
Add a collection of arcs to the connector, leaving them unconnected
until a later call to
AbstractGreatArcConnector.connect(Iterable) or
AbstractGreatArcConnector.connectAll() . |
void |
AbstractGreatArcConnector.connect(Iterable<GreatArc> arcs)
Add a collection of arcs to the connector and attempt to connect each new
arc with existing ones.
|
List<GreatArcPath> |
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 |
RegionBSPTree2S.from(Iterable<GreatArc> boundaries)
Construct a new tree from the given boundaries.
|
static RegionBSPTree2S |
RegionBSPTree2S.from(Iterable<GreatArc> boundaries,
boolean full)
Construct a new tree from the given boundaries.
|
static GreatArcPath |
GreatArcPath.fromArcs(Collection<GreatArc> arcs)
Construct a new path from the given arcs.
|
static BoundarySource2S |
BoundarySource2S.of(Collection<GreatArc> boundaries)
Return a
BoundarySource2S instance containing the given boundaries. |
Constructor and Description |
---|
ConnectableGreatArc(GreatArc arc)
Create a new instance from the given arc.
|
Constructor and Description |
---|
BoundaryList2S(List<? extends GreatArc> boundaries)
Construct a new instance with the given list of boundaries.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.