Package | Description |
---|---|
org.apache.commons.math3.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Field and Description |
---|---|
private Line |
Segment.line
Line containing the segment.
|
private Line |
PolygonsSet.Edge.line
Line supporting the edge.
|
private Line |
Line.reverse
Reverse line.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Line> |
PolygonsSet.Vertex.lines
Lines bound with this vertex.
|
Modifier and Type | Method and Description |
---|---|
Line |
Line.LineTransform.apply(Hyperplane<Euclidean2D> hyperplane)
Transform an hyperplane of a space.
|
private static Line[] |
PolygonsSet.boxBoundary(double xMin,
double xMax,
double yMin,
double yMax,
double tolerance)
Create a list of hyperplanes representing the boundary of a box.
|
Line |
Line.copySelf()
Copy the instance.
|
Line |
Segment.getLine()
Get the line containing the segment.
|
Line |
PolygonsSet.Edge.getLine()
Get the line supporting this edge.
|
Line |
Line.getReverse()
Get the reverse of the instance.
|
Line |
PolygonsSet.Vertex.sharedLineWith(PolygonsSet.Vertex vertex)
Get the common line bound with both the instance and another vertex, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
PolygonsSet.Vertex.bindWith(Line line)
Bind a line considered to contain this vertex.
|
double |
Line.getOffset(Line line)
Get the offset (oriented distance) of a parallel line.
|
Vector2D |
Line.intersection(Line other)
Get the intersection point of the instance and another line.
|
boolean |
Line.isParallelTo(Line line)
Check the instance is parallel to another line.
|
PolygonsSet.Vertex |
PolygonsSet.Edge.split(Line splitLine)
Split the edge.
|
Constructor and Description |
---|
ConnectableSegment(Vector2D start,
Vector2D end,
Line line,
BSPTree<Euclidean2D> node,
BSPTree<Euclidean2D> startNode,
BSPTree<Euclidean2D> endNode)
Build a segment.
|
Edge(PolygonsSet.Vertex start,
PolygonsSet.Vertex end,
Line line)
Build an edge not contained in any node yet.
|
Line(Line line)
Copy constructor.
|
Segment(Vector2D start,
Vector2D end,
Line line)
Build a segment.
|