Package | Description |
---|---|
org.apache.commons.math3.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
org.apache.commons.math3.geometry.euclidean.twod.hull |
This package provides algorithms to generate the convex hull
for a set of points in an two-dimensional euclidean space.
|
Modifier and Type | Class and Description |
---|---|
private static class |
PolygonsSet.ConnectableSegment
Private extension of Segment allowing connection.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<Segment> |
PolygonsSet.followLoop(PolygonsSet.ConnectableSegment defining)
Build the loop containing a segment.
|
java.util.List<Segment> |
SubLine.getSegments()
Get the endpoints of the sub-line.
|
Modifier and Type | Method and Description |
---|---|
private void |
PolygonsSet.filterSpuriousVertices(java.util.List<Segment> loop)
Filter out spurious vertices on straight lines (at machine precision).
|
Constructor and Description |
---|
SubLine(Segment segment)
Create a sub-line from a segment.
|
Modifier and Type | Field and Description |
---|---|
private Segment[] |
ConvexHull2D.lineSegments
Line segments of the hull.
|
Modifier and Type | Method and Description |
---|---|
Segment[] |
ConvexHull2D.getLineSegments()
Get the line segments of the convex hull, ordered.
|
private Segment[] |
ConvexHull2D.retrieveLineSegments()
Retrieve the line segments from the cached array or create them if needed.
|