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
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 |
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org