public class PolygonHandler extends Object implements ShapeHandler
| Constructor and Description |
|---|
PolygonHandler() |
PolygonHandler(int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength(Geometry geometry) |
int |
getShapeType() |
Geometry |
read(EndianDataInputStream file,
GeometryFactory geometryFactory,
int contentLength) |
public PolygonHandler()
public PolygonHandler(int type)
throws InvalidShapefileException
InvalidShapefileExceptionpublic Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException
read in interface ShapeHandlerIOExceptionInvalidShapefileExceptionpublic int getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(Geometry geometry)
getLength in interface ShapeHandlerCopyright © 2025. All rights reserved.