public interface Coordinate extends ReadWriteable
Modifier and Type | Method and Description |
---|---|
int |
getDimensions() |
Number |
getOrdinate(int dimension)
Get the ordinate value for a specific dimension.
|
void |
setOrdinate(int dimension,
Number value)
Set the ordinate value for a specific dimension.
|
asciiHeader, readASCII
binaryHeader, readBinary
asciiHeader, writeASCII
binaryHeader, writeBinary
Number getOrdinate(int dimension)
dimension
- The index of the dimension we are interested inIllegalArgumentException
- if the Coordinate does not support the dimension.void setOrdinate(int dimension, Number value)
dimension
- The index of the dimension we are interested invalue
- The value of the ordinate of the given dimension.IllegalArgumentException
- if the Coordinate does not support the dimension.int getDimensions()