org.deegree_impl.io.shpapi
Class SHPPoint

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

public class SHPPoint
extends SHPGeometry

Class representig a two dimensional point
Last changes:
25.05.00 chm: method writeSHPPoint implemented
14.08.00 ap: import clause added

Version:
14.08.2000
Author:
Andreas Poth

Field Summary
 double x
           
 double y
           
 
Fields inherited from class org.deegree_impl.io.shpapi.SHPGeometry
envelope, recBuffer
 
Constructor Summary
SHPPoint()
           
SHPPoint(byte[] recBuf, int xStart)
          constructor: gets a stream and the start index
of point on it
SHPPoint(GM_Position point)
          constructor: creates a SHPPoint from a WKS Geometrie
 
Method Summary
 int size()
          returns the size of the point shape in bytes
 java.lang.String toString()
           
 void writeSHPPoint(byte[] byteArray, int start)
          method: writeSHPPoint: writes a SHPPoint Objekt to a recBuffer
 
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, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

SHPPoint

public SHPPoint()

SHPPoint

public SHPPoint(byte[] recBuf,
                int xStart)
constructor: gets a stream and the start index
of point on it


SHPPoint

public SHPPoint(GM_Position point)
constructor: creates a SHPPoint from a WKS Geometrie

Method Detail

writeSHPPoint

public void writeSHPPoint(byte[] byteArray,
                          int start)
method: writeSHPPoint: writes a SHPPoint Objekt to a recBuffer


size

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


toString

public java.lang.String toString()