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, toString
public void addCoordinate(Coordinate coordinate)
addCoordinate
in class SubHandler
coordinate
- Coordinate to add to LineString.public boolean isComplete(String message)
isComplete
in class SubHandler
message
- The geometry type.public Geometry create(GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- The geometry factory needed to do the build.Copyright © 1996–2019 Geotools. All rights reserved.