public class ShpPolyCurve extends java.lang.Object implements ShpShape
Copyright 2007 Partner Software, Inc.
| Constructor and Description |
|---|
ShpPolyCurve(ShapeByteReader reader)
Creates a new ShpPolyLine object from the given input.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object nother) |
XyBounds |
getBounds()
Return the bounds.
|
int |
getCurveCount()
The total number of actual (non-straight-line) curves.
|
java.util.List<java.util.List<ShpCurve>> |
getCurves()
Returns the points as a list of lists.
|
int |
getPartCount()
The number of polyline parts.
|
int |
getPointCount()
The total number of points of all parts.
|
ShapeType |
getType()
Returns the type for this shape.
|
java.lang.String |
toString() |
java.util.List<XyPolyline> |
toXyPolylines()
Converts the ShpPolyCurve to a list of XyPolyline objects.
|
void |
writeBytes(ShapeByteWriter writer)
Writes this shape, in binary format, to the given output.
|
public ShpPolyCurve(ShapeByteReader reader)
public java.util.List<XyPolyline> toXyPolylines()
public ShapeType getType()
ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShapewriteBytes in interface ShpShapepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic int getPartCount()
public int getPointCount()
public int getCurveCount()
public java.util.List<java.util.List<ShpCurve>> getCurves()
public XyBounds getBounds()