deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.io.shpapi
Class SHPPoint

java.lang.Object
  extended by org.deegree.io.shpapi.SHPGeometry
      extended by org.deegree.io.shpapi.SHPPoint
Direct Known Subclasses:
SHPPoint3D

public class SHPPoint
extends SHPGeometry

Class representig a two dimensional point

Version:
14.08.2000
Author:
Andreas Poth

Field Summary
 double x
           
 double y
           
 
Fields inherited from class org.deegree.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(Position point)
          constructor: creates a SHPPoint from a WKS Geometrie
 
Method Summary
 int size()
          returns the size of the point shape in bytes
 String toString()
           
 void writeSHPPoint(byte[] byteArray, int start)
          method: writeSHPPoint: writes a SHPPoint Objekt to a recBuffer
 
Methods inherited from class org.deegree.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(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 String toString()
Overrides:
toString in class Object

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net