public class SubHandlerLineString extends SubHandler
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB| Constructor and Description |
|---|
SubHandlerLineString()
Empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCoordinate(Coordinate coordinate)
Adds a coordinate to the LineString.
|
Geometry |
create(GeometryFactory geometryFactory)
Create the LineString.
|
boolean |
isComplete(String message)
Determine whether or not this LineString is ready to be created.
|
getSRID, getSRS, setSRS, subGeometry, toStringpublic void addCoordinate(Coordinate coordinate)
addCoordinate in class SubHandlercoordinate - Coordinate to add to LineString.public boolean isComplete(String message)
isComplete in class SubHandlermessage - The geometry type.public Geometry create(GeometryFactory geometryFactory)
create in class SubHandlergeometryFactory - The geometry factory needed to do the build.Copyright © 1996–2019 Geotools. All rights reserved.