oracle.sdoapi.geom
Interface Point

All Superinterfaces:
java.lang.Cloneable, Geometry, java.io.Serializable

public interface Point
extends Geometry

Point is an interface that represents an OGC geometric point, which is a 0-dimensional geometry representing a single location.

A geometric point contains coordinates for an n-dimensional point. This geometric point is a geometry entity and therefore also carries additional data such as a spatial reference system. Care must be taken to distinguish this point interface from another interface called CoordPoint, which is not a geometry entity and only contains coordinates.

See Also:
Geometry, CoordPoint

Method Summary
 double getOrd(int i)
          Gets the i-th ordinate of this point.
 double getX()
          Gets x coordinate of this point.
 double getY()
          Gets y coordinate of this point.
 double getZ()
          Gets z coordinate of this point.
 
Methods inherited from interface oracle.sdoapi.geom.Geometry
clone, getAllIsolatedPoints, getAllSegments, getCoordinateDimension, getDimensionality, getEnvelope, getGeometryType, getLabelPoint, getLabelPoint, getSpatialReference, isEmpty, isSimple, isValid, linearize
 

Method Detail

getX

public double getX()
Gets x coordinate of this point.
Returns:
x coordinate of this point

getY

public double getY()
Gets y coordinate of this point.
Returns:
y coordinate of this point

getZ

public double getZ()
Gets z coordinate of this point.
Returns:
z coordinate of this point

getOrd

public double getOrd(int i)
Gets the i-th ordinate of this point. This is a generic method that supports higher dimensional (higher than 3-D) data.
Parameters:
i - the 0-based index of the ordinates. For example, i = 0 means the first dimension (or x by convention), etc.
Returns:
the i-th coordinate of this point, or Double.NaN if the i-th ordinate is not available