org.deegree_impl.io.shpapi
Class SHPMultiPoint

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

public class SHPMultiPoint
extends SHPGeometry

Class representig a collection of points
Last changes:
21.03.2000 ap: constructor declared and implemented
14.08.2000 ap: constructor SHPMultiPoint(GM_Point[] gm_points) added
14.08.2000 ap: method writeSHPMultiPoint(..) added
14.08.2000 ap: import clause added
16.08.2000 ap: constructor SHPMultiPoint(GM_Point[] gm_points) modified

Version:
16.08.2000
Author:
Andreas Poth

Field Summary
 int numPoints
           
 SHPPoint[] points
           
 
Fields inherited from class org.deegree_impl.io.shpapi.SHPGeometry
envelope, recBuffer
 
Constructor Summary
SHPMultiPoint()
           
SHPMultiPoint(byte[] recBuf)
          constructor: recieves a stream
SHPMultiPoint(GM_MultiPoint multipoint)
          constructor: recieves an array of gm_points
 
Method Summary
 int size()
          returns the size of the multipoint shape in bytes
 byte[] writeSHPMultiPoint(byte[] bytearray, int start)
          method: writeSHPmultipoint (byte [] bytearray, int start)
loops through the point array and writes each point to the bytearray
 
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

points

public SHPPoint[] points

numPoints

public int numPoints
Constructor Detail

SHPMultiPoint

public SHPMultiPoint()

SHPMultiPoint

public SHPMultiPoint(byte[] recBuf)
constructor: recieves a stream


SHPMultiPoint

public SHPMultiPoint(GM_MultiPoint multipoint)
constructor: recieves an array of gm_points

Method Detail

writeSHPMultiPoint

public byte[] writeSHPMultiPoint(byte[] bytearray,
                                 int start)
method: writeSHPmultipoint (byte [] bytearray, int start)
loops through the point array and writes each point to the bytearray


size

public int size()
returns the size of the multipoint shape in bytes