| Type | Name and description |
|---|---|
java.util.List<Point> |
coordinatesThe points that constitute the LineString |
| Constructor and description |
|---|
LineString(Point[] points)Constructs a LineString for the given Point instances |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List<java.util.List<java.lang.Double>> |
asList()Converts the line string to a multi dimensional coordinate list. |
|
java.lang.String |
toString() |
|
static LineString |
valueOf(java.util.List coords)Constructs a LineString for the given coordinates |
The points that constitute the LineString
Converts the line string to a multi dimensional coordinate list. Example: [ [1.0d, 4.0d], [8.0d, 4.0d] ] @return
Constructs a LineString for the given coordinates
coords - The coordinates, which should be a list of Point instances or lists containing x and y valuesGroovy Documentation