public class ShpPolygonZ extends java.lang.Object implements ShpShape
By our definitions, a shapefile PolyLineZ entity is really a list of polyline objects. Each of these is the standard ordered series of connected vertices.
Copyright 2007 Partner Software, Inc.
| Constructor and Description |
|---|
ShpPolygonZ(ShapeByteReader reader)
Creates a new ShpPolyLine object from the given input.
|
| Modifier and Type | Method and Description |
|---|---|
XyzBounds |
getBounds()
Return the bounds.
|
double |
getMaximumM()
Return the maximum M value.
|
double |
getMinimumM()
Return the minimum M value.
|
int |
getNumParts()
The number of polyline parts.
|
int |
getNumPoints()
The total number of points of all parts.
|
java.util.List<java.util.List<ShpPointZ>> |
getPoints()
Returns the points as a list of lists.
|
ShapeType |
getType()
Returns the type for this shape.
|
java.util.List<XyPolyline> |
toXyPolylines()
Converts the ShpPolyLine to a list of XyPolyline objects.
|
java.util.List<XyzPolyline> |
toXyzPolylines()
Converts the ShpPolyLine to a list of XyzPolyline objects.
|
void |
writeBytes(ShapeByteWriter writer)
Writes this shape, in binary format, to the given output.
|
public ShpPolygonZ(ShapeByteReader reader)
public java.util.List<XyPolyline> toXyPolylines()
public java.util.List<XyzPolyline> toXyzPolylines()
public ShapeType getType()
ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShapewriteBytes in interface ShpShapepublic int getNumParts()
public int getNumPoints()
public java.util.List<java.util.List<ShpPointZ>> getPoints()
public XyzBounds getBounds()
public double getMinimumM()
public double getMaximumM()