|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="CV_GridCoordinates",
specification=ISO_19123)
public interface GridCoordinatesHolds the set of grid coordinates that specifies the location of the grid point within the grid.
| Method Summary | |
|---|---|
int |
getCoordinateValue(int dimension)
Returns the coordinate value at the specified dimension. |
int[] |
getCoordinateValues()
Returns one integer value for each dimension of the grid. |
int |
getDimension()
Returns the number of dimensions. |
void |
setCoordinateValue(int dimension,
int value)
Sets the coordinate value at the specified dimension (optional operation). |
| Method Detail |
|---|
@Extension int getDimension()
getCoordinateValues().length. It is
provided for efficiency.
@UML(identifier="coordValues",
obligation=MANDATORY,
specification=ISO_19123)
int[] getCoordinateValues()
Grid.getAxisNames(). The value of
a single coordinate shall be the number of offsets from the origin of the grid in the direction
of a specific axis.
GridCoordinates object.
@Extension
int getCoordinateValue(int dimension)
throws IndexOutOfBoundsException
getCoordinateValues()[i]. It is provided for
efficiency.
dimension - The dimension for which to obtain the coordinate value.
IndexOutOfBoundsException - If the given index is negative or is equals or greater
than the grid dimension.
@Extension
void setCoordinateValue(int dimension,
int value)
throws IndexOutOfBoundsException,
UnsupportedOperationException
dimension - The dimension for which to set the coordinate value.value - The new value.
IndexOutOfBoundsException - If the given index is negative or is equals or greater
than the grid dimension.
UnsupportedOperationException - if this grid coordinates is not modifiable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||