|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.geojson.Geometry
org.gbanga.api.geojson.LineString
public class LineString
The line string is a geometry object in the GeoJSON standard.
| Field Summary | |
|---|---|
float[][] |
coordinates
Polygons consist of an array with one element (outer array) and the coordinates of the line (inner arrays). |
java.lang.String |
type
The named type of a line string. |
| Constructor Summary | |
|---|---|
LineString(java.util.Collection<Coordinates> ps)
Creates a line string with a given collection of coordinates (order-sensitive). |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float[][] coordinates
Polygons consist of an array with one element (outer array) and the coordinates of the line (inner arrays).
Example:
[
[13.359375, 31.2890625],
[0, 17.9296875],
[9.84375, 5.9765625],
]
public java.lang.String type
| Constructor Detail |
|---|
public LineString(java.util.Collection<Coordinates> ps)
ps - an order-sensitive collection of coordinates
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||