org.deegree_impl.io.shpapi
Class SHPMultiPoint
java.lang.Object
org.deegree_impl.io.shpapi.SHPGeometry
org.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
points
public SHPPoint[] points
numPoints
public int numPoints
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
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