org.deegree.io.shpapi
Class SHPMultiPoint
java.lang.Object
  
org.deegree.io.shpapi.SHPGeometry
      
org.deegree.io.shpapi.SHPMultiPoint
public class SHPMultiPoint
- extends SHPGeometry
 
Class representig a collection of points
- Version:
 
  - $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 18 Jun 2009) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: mschneider $
 
 
 
 
| 
Method Summary | 
 int | 
size()
 
          returns the size of the multipoint shape in bytes
  | 
 byte[] | 
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
- Parameters:
 recBuf - 
 
SHPMultiPoint
public SHPMultiPoint(MultiPoint multipoint)
- constructor: recieves an array of gm_points
- Parameters:
 multipoint - 
 
writeSHPMultiPoint
public byte[] writeSHPMultiPoint(byte[] bytearray,
                                 int start)
- loops through the point array and writes each point to the bytearray
- Parameters:
 bytearray - start - 
- Returns:
 - SHPMultiPoint as byte arry
 
 
 
size
public int size()
- returns the size of the multipoint shape in bytes
- Returns:
 - size of the byte arry representation
 
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org