deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.spatialschema
Interface Point

All Superinterfaces:
Geometry, Primitive, java.io.Serializable
All Known Subinterfaces:
CompositePoint
All Known Implementing Classes:
PointImpl

public interface Point
extends Primitive

The basic two dimensional geometry

-----------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $

Author:
Andreas Poth

Field Summary
 
Fields inherited from interface org.deegree.model.spatialschema.Geometry
BUFFER_CAP_BUTT, BUFFER_CAP_ROUND, BUFFER_CAP_SQUARE
 
Method Summary
 double[] getAsArray()
           
 Position getPosition()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 
Methods inherited from interface org.deegree.model.spatialschema.Geometry
contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union
 

Method Detail

getX

double getX()
Returns:
the x-value of the point

getY

double getY()
Returns:
the y-value of the point

getZ

double getZ()
Returns:
the z-value of the point of Double.NaN if the dimension != 3

getAsArray

double[] getAsArray()
Returns:
the x- and y-value of the point as a two dimensional array the first field contains the x- the second field the y-value.

getPosition

Position getPosition()
Returns:
the position of the point

deegree 2.5 (2011/06/29 09:44 build-8-official)

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