public interface ShapeHandler
Modifier and Type | Method and Description |
---|---|
com.vividsolutions.jts.geom.Geometry |
getEmptyGeometry(com.vividsolutions.jts.geom.GeometryFactory factory)
Return a empty geometry.
|
int |
getLength(com.vividsolutions.jts.geom.Geometry geometry) |
int |
getShapeType()
Returns one of the ShapeType int defined by the specification.
|
com.vividsolutions.jts.geom.Geometry |
read(EndianDataInputStream file,
com.vividsolutions.jts.geom.GeometryFactory geometryFactory,
int contentLength) |
void |
write(com.vividsolutions.jts.geom.Geometry geometry,
EndianDataOutputStream file) |
int getShapeType()
com.vividsolutions.jts.geom.Geometry read(EndianDataInputStream file, com.vividsolutions.jts.geom.GeometryFactory geometryFactory, int contentLength) throws java.io.IOException, InvalidShapefileException
java.io.IOException
InvalidShapefileException
void write(com.vividsolutions.jts.geom.Geometry geometry, EndianDataOutputStream file) throws java.io.IOException
java.io.IOException
int getLength(com.vividsolutions.jts.geom.Geometry geometry)
com.vividsolutions.jts.geom.Geometry getEmptyGeometry(com.vividsolutions.jts.geom.GeometryFactory factory)