|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.shapefile.ShpPolyCurve
public class ShpPolyCurve
Curved arcs are not specified in the ESRI shapefile document; however they do occur in Arc/Info shapes. This is what we have dubbed a "ShpPolyCurve", since it is essentially a variation on a ShpPolyLine that contains curved as well as straight segments.
Copyright 2007 Partner Software, Inc.
| Constructor Summary | |
|---|---|
ShpPolyCurve(ShapeByteReader reader)
Creates a new ShpPolyLine object from the given input. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShpPolyCurve(ShapeByteReader reader)
| Method Detail |
|---|
public java.util.List<XyPolyline> toXyPolylines()
public ShapeType getType()
ShpShape
getType in interface ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShape
writeBytes 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||