Class MultiLineHandler
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.io.shapefile.MultiLineHandler
-
- All Implemented Interfaces:
ShapeHandler
public class MultiLineHandler extends java.lang.Object implements ShapeHandler
Wrapper for a Shapefile arc.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intmyShapeType
-
Constructor Summary
Constructors Constructor Description MultiLineHandler()MultiLineHandler(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength(Geometry geometry)intgetShapeType()Get the type of shape stored (Shapefile.ARC)Geometryread(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)(package private) double[]zMinMax(Geometry g)
-
-
-
Constructor Detail
-
MultiLineHandler
public MultiLineHandler()
-
MultiLineHandler
public MultiLineHandler(int type) throws InvalidShapefileException- Throws:
InvalidShapefileException
-
-
Method Detail
-
read
public Geometry read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) throws java.io.IOException, InvalidShapefileException
- Specified by:
readin interfaceShapeHandler- Throws:
java.io.IOExceptionInvalidShapefileException
-
getShapeType
public int getShapeType()
Get the type of shape stored (Shapefile.ARC)- Specified by:
getShapeTypein interfaceShapeHandler
-
getLength
public int getLength(Geometry geometry)
- Specified by:
getLengthin interfaceShapeHandler
-
zMinMax
double[] zMinMax(Geometry g)
-
-