| org.deegree.model.spatialschema.Position
All known Subclasses: org.deegree.model.spatialschema.PositionImpl,
Position | public interface Position (Code) | | A sequence of decimals numbers which when written on a width are a sequence of coordinate
positions. The width is derived from the CRS or coordinate dimension of the container.
-----------------------------------------------------------------------
version: 5.6.2001 author: Andreas Poth author: |
getAccuracy | public double getAccuracy()(Code) | | returns the accuracy the position is defined. The accuracy is measured in values of the CRS
the positions coordinates are stored
the accuracy the position is defined |
getAsArray | public double[] getAsArray()(Code) | | NOTE: The returned array always has a length of 3, regardless of the dimension. This is due
to a limitation in the coordinate transformation package (proj4), which expects coordinates
to have 3 dimensions.
the x- and y-value of the point as a two dimensional array the first field containsthe x- the second field the y-value. |
getAsPoint3d | public Point3d getAsPoint3d()(Code) | | the position as a point3d |
getCoordinateDimension | public int getCoordinateDimension()(Code) | | the coordinate dimension of the position |
getX | public double getX()(Code) | | the x-value of the point |
getY | public double getY()(Code) | | the y-value of the point |
getZ | public double getZ()(Code) | | the z-value of the point |
translate | public void translate(double[] d)(Code) | | translates the coordinates of the position.
Parameters: d - the first coordinate of the position will be translated by the first field ofd the second coordinate by the second field of d and soon... |
|
|