org.gvsig.fmap.geom
Interface DirectPosition

All Known Implementing Classes:
Point2D, Point2DZ

public interface DirectPosition

DirectPosition object data types hold the coordinates for a position within some coordinate reference system. The coordinate reference system is described in ISO 19111.

Author:
Jorge Piera
See Also:
ISO 19107, ISO 19111

Method Summary
 int getDimension()
          Returns the length of coordinate.
 double getOrdinate(int dimension)
          Returns the ordinate of the given dimension.
 

Method Detail

getDimension

int getDimension()
Returns the length of coordinate. This is determined by the reference system.

Returns:
The dimension

getOrdinate

double getOrdinate(int dimension)
Returns the ordinate of the given dimension.

Parameters:
dimension - The dimension to retrieve
Returns:
The value of the ordinate


Copyright © 2004-2012 gvSIG. All Rights Reserved.