protected static final class ShapeBuilder.Edge
extends java.lang.Object
Coordinate
. It contains
fields for a dateline intersection and component idModifier and Type | Field | Description |
---|---|---|
static org.locationtech.jts.geom.Coordinate |
MAX_COORDINATE |
Modifier | Constructor | Description |
---|---|---|
protected |
Edge(org.locationtech.jts.geom.Coordinate coordinate,
ShapeBuilder.Edge next) |
|
protected |
Edge(org.locationtech.jts.geom.Coordinate coordinate,
ShapeBuilder.Edge next,
org.locationtech.jts.geom.Coordinate intersection) |
Modifier and Type | Method | Description |
---|---|---|
protected org.locationtech.jts.geom.Coordinate |
intersection(double position) |
Set the intersection of this line segment to the given position
|
protected static org.locationtech.jts.geom.Coordinate |
position(org.locationtech.jts.geom.Coordinate p1,
org.locationtech.jts.geom.Coordinate p2,
double position) |
|
protected void |
setNext(ShapeBuilder.Edge next) |
|
java.lang.String |
toString() |
protected Edge(org.locationtech.jts.geom.Coordinate coordinate, ShapeBuilder.Edge next, org.locationtech.jts.geom.Coordinate intersection)
protected Edge(org.locationtech.jts.geom.Coordinate coordinate, ShapeBuilder.Edge next)
protected void setNext(ShapeBuilder.Edge next)
protected org.locationtech.jts.geom.Coordinate intersection(double position)
position
- position of the intersection [0..1]Coordinate
of the intersectionprotected static org.locationtech.jts.geom.Coordinate position(org.locationtech.jts.geom.Coordinate p1, org.locationtech.jts.geom.Coordinate p2, double position)
public java.lang.String toString()
toString
in class java.lang.Object