Class MultiLineHandler
java.lang.Object
org.locationtech.jtstest.testbuilder.io.shapefile.MultiLineHandler
- All Implemented Interfaces:
ShapeHandler
Wrapper for a Shapefile arc.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintGet the type of shape stored (Shapefile.ARC)read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) (package private) double[]
-
Field Details
-
myShapeType
int myShapeType
-
-
Constructor Details
-
MultiLineHandler
public MultiLineHandler() -
MultiLineHandler
- Throws:
InvalidShapefileException
-
-
Method Details
-
read
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws IOException, InvalidShapefileException - Specified by:
readin interfaceShapeHandler- Throws:
IOExceptionInvalidShapefileException
-
getShapeType
public int getShapeType()Get the type of shape stored (Shapefile.ARC)- Specified by:
getShapeTypein interfaceShapeHandler
-
getLength
- Specified by:
getLengthin interfaceShapeHandler
-
zMinMax
-