org.deegree.io.shpapi
Class SHPPolyLine
java.lang.Object
org.deegree.io.shpapi.SHPGeometry
org.deegree.io.shpapi.SHPPolyLine
- Direct Known Subclasses:
- SHPPolyLine3D
public class SHPPolyLine
- extends SHPGeometry
Class representig a two dimensional ESRI PolyLine
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Constructor Summary |
SHPPolyLine(byte[] recBuf)
constructor: gets a stream
|
SHPPolyLine(Curve[] curve)
constructor: recieves a matrix of Points
|
Method Summary |
int |
size()
returns the polyline shape size in bytes
|
void |
writeSHPPolyLine(byte[] bytearray,
int start)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numParts
public int numParts
numPoints
public int numPoints
points
public SHPPoint[][] points
SHPPolyLine
public SHPPolyLine(byte[] recBuf)
- constructor: gets a stream
- Parameters:
recBuf
-
SHPPolyLine
public SHPPolyLine(Curve[] curve)
- constructor: recieves a matrix of Points
- Parameters:
curve
-
writeSHPPolyLine
public void writeSHPPolyLine(byte[] bytearray,
int start)
- Parameters:
bytearray
- start
-
size
public int size()
- returns the polyline shape size in bytes
- Returns:
- the polyline shape size in bytes
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org