protected static final class ShapeBuilder.Edge extends Object
Coordinate
. It contains
fields for a dateline intersection and component idModifier and Type | Field and Description |
---|---|
static com.vividsolutions.jts.geom.Coordinate |
MAX_COORDINATE |
Modifier | Constructor and Description |
---|---|
protected |
ShapeBuilder.Edge(com.vividsolutions.jts.geom.Coordinate coordinate,
ShapeBuilder.Edge next) |
protected |
ShapeBuilder.Edge(com.vividsolutions.jts.geom.Coordinate coordinate,
ShapeBuilder.Edge next,
com.vividsolutions.jts.geom.Coordinate intersection) |
Modifier and Type | Method and Description |
---|---|
protected com.vividsolutions.jts.geom.Coordinate |
intersection(double position)
Set the intersection of this line segment to the given position
|
static com.vividsolutions.jts.geom.Coordinate |
position(com.vividsolutions.jts.geom.Coordinate p1,
com.vividsolutions.jts.geom.Coordinate p2,
double position) |
protected static ShapeBuilder.Edge[] |
ring(int component,
boolean direction,
boolean handedness,
BaseLineStringBuilder<?> shell,
com.vividsolutions.jts.geom.Coordinate[] points,
int offset,
ShapeBuilder.Edge[] edges,
int toffset,
int length)
Create a connected list of a list of coordinates
|
protected void |
setNext(ShapeBuilder.Edge next) |
String |
toString() |
protected static void |
translate(com.vividsolutions.jts.geom.Coordinate[] points)
Transforms coordinates in the eastern hemisphere (-180:0) to a (180:360) range
|
public static final com.vividsolutions.jts.geom.Coordinate MAX_COORDINATE
protected ShapeBuilder.Edge(com.vividsolutions.jts.geom.Coordinate coordinate, ShapeBuilder.Edge next, com.vividsolutions.jts.geom.Coordinate intersection)
protected ShapeBuilder.Edge(com.vividsolutions.jts.geom.Coordinate coordinate, ShapeBuilder.Edge next)
protected void setNext(ShapeBuilder.Edge next)
protected static ShapeBuilder.Edge[] ring(int component, boolean direction, boolean handedness, BaseLineStringBuilder<?> shell, com.vividsolutions.jts.geom.Coordinate[] points, int offset, ShapeBuilder.Edge[] edges, int toffset, int length)
points
- array of pointoffset
- index of the first pointlength
- number of pointsprotected static void translate(com.vividsolutions.jts.geom.Coordinate[] points)
protected com.vividsolutions.jts.geom.Coordinate intersection(double position)
position
- position of the intersection [0..1]Coordinate
of the intersectionpublic static com.vividsolutions.jts.geom.Coordinate position(com.vividsolutions.jts.geom.Coordinate p1, com.vividsolutions.jts.geom.Coordinate p2, double position)
Copyright © 2009–2016. All rights reserved.