org.deegree_impl.io.shpapi
Class SHPPolyLine

java.lang.Object
  extended byorg.deegree_impl.io.shpapi.SHPGeometry
      extended byorg.deegree_impl.io.shpapi.SHPPolyLine

public class SHPPolyLine
extends SHPGeometry

Class representig a two dimensional ESRI PolyLine
Last changes:
12.01.2000 ap: constructor re-declared
25.01.2000 ap: public variables numRings and numPoints declared
21.03.2000 ap: parameter list of the second constructor modified
14.08.2000 ap: constructor SHPPolyLine(GM_Point[][] gm_points) added
14.08.2000 ap: method writeSHPPolyline(..) added
14.08.2000 ap: method size() added
16.08.2000 ap: constructor SHPPolyLine(GM_Point[][] gm_points) modified

Version:
16.08.2000
Author:
Andreas Poth

Field Summary
 int numParts
           
 int numPoints
           
 SHPPoint[][] points
           
 
Fields inherited from class org.deegree_impl.io.shpapi.SHPGeometry
envelope, recBuffer
 
Constructor Summary
SHPPolyLine(byte[] recBuf)
          constructor: gets a stream
SHPPolyLine(GM_Curve[] curve)
          constructor: recieves a matrix of GM_Points
 
Method Summary
 int size()
          returns the polyline shape size in bytes
 void writeSHPPolyLine(byte[] bytearray, int start)
          method: writeSHPPolyLine(byte[] bytearray, int start)
 
Methods inherited from class org.deegree_impl.io.shpapi.SHPGeometry
getEnvelope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numParts

public int numParts

numPoints

public int numPoints

points

public SHPPoint[][] points
Constructor Detail

SHPPolyLine

public SHPPolyLine(byte[] recBuf)
constructor: gets a stream


SHPPolyLine

public SHPPolyLine(GM_Curve[] curve)
constructor: recieves a matrix of GM_Points

Method Detail

writeSHPPolyLine

public void writeSHPPolyLine(byte[] bytearray,
                             int start)
method: writeSHPPolyLine(byte[] bytearray, int start)


size

public int size()
returns the polyline shape size in bytes