Package | Description |
---|---|
org.apache.commons.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Method and Description |
---|---|
GreatArcPath |
GreatArcPath.Builder.build()
Build a
GreatArcPath instance from the configured path. |
GreatArcPath |
GreatArcPath.Builder.build(boolean close)
Build a
GreatArcPath instance from the configured path. |
GreatArcPath |
GreatArcPath.Builder.close()
Close the current path and build a new
GreatArcPath instance. |
static GreatArcPath |
GreatArcPath.empty()
Get an instance containing no arcs.
|
static GreatArcPath |
GreatArcPath.fromArcs(Collection<GreatArc> arcs)
Construct a new path from the given arcs.
|
static GreatArcPath |
GreatArcPath.fromArcs(GreatArc... arcs)
Construct a new path from the given arcs.
|
static GreatArcPath |
GreatArcPath.fromVertexLoop(Collection<Point2S> vertices,
Precision.DoubleEquivalence precision)
Return a new path formed by connecting the given vertices.
|
static GreatArcPath |
GreatArcPath.fromVertices(Collection<Point2S> vertices,
boolean close,
Precision.DoubleEquivalence precision)
Return a new path formed by connecting the given vertices.
|
static GreatArcPath |
GreatArcPath.fromVertices(Collection<Point2S> vertices,
Precision.DoubleEquivalence precision)
Return a new path formed by connecting the given vertices.
|
GreatArcPath |
ConvexArea2S.getBoundaryPath()
Get a path instance representing the boundary of the area.
|
Modifier and Type | Method and Description |
---|---|
List<GreatArcPath> |
AbstractGreatArcConnector.connectAll()
Connect all current arcs into connected paths, returning the result as a
list of arc paths.
|
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.
|
List<GreatArcPath> |
RegionBSPTree2S.getBoundaryPaths()
Get the boundary of the region as a list of connected great arc paths.
|
Modifier and Type | Method and Description |
---|---|
static ConvexArea2S |
ConvexArea2S.fromPath(GreatArcPath path)
Construct a convex area from an arc path.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.