public class SubHandlerBox extends SubHandler
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB| Constructor and Description |
|---|
SubHandlerBox()
Creates a new instance of GMLBoxHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCoordinate(Coordinate c)
Sets a corner.
|
Geometry |
create(GeometryFactory geometryFactory)
Builds and returns the polygon.
|
boolean |
isComplete(String message)
Sets a corner.
|
getSRID, getSRS, setSRS, subGeometry, toStringpublic void addCoordinate(Coordinate c)
addCoordinate in class SubHandlerc - the coordinate of the corner.public boolean isComplete(String message)
isComplete in class SubHandlermessage - The geometry to inspect.public Geometry create(GeometryFactory geometryFactory)
create in class SubHandlergeometryFactory - the geometryFactory to be used to build the polygon.Copyright © 1996–2019 Geotools. All rights reserved.