public class PolygonHandler extends Object implements ShapeHandler
Modifier and Type | Field and Description |
---|---|
protected static CGAlgorithms |
cga |
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) |
protected static CGAlgorithms cga
public PolygonHandler()
public PolygonHandler(int type) throws InvalidShapefileException
InvalidShapefileException
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException
read
in interface ShapeHandler
IOException
InvalidShapefileException
public int getShapeType()
getShapeType
in interface ShapeHandler
public int getLength(Geometry geometry)
getLength
in interface ShapeHandler
Copyright © 2018. All rights reserved.