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, toString
public void addCoordinate(Coordinate c)
addCoordinate
in class SubHandler
c
- the coordinate of the corner.public boolean isComplete(String message)
isComplete
in class SubHandler
message
- The geometry to inspect.public Geometry create(GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- the geometryFactory to be used to build the polygon.Copyright © 1996–2019 Geotools. All rights reserved.