|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CoordinateTuple
Defines the interface that every GML coordinate tuple must implement. A coordinate tuple does NOT have a corresponding GML element. It is an abstraction of a coordinate tuple, which may appear in coord and coordinates GML constructs. Coord, which is a coordinate tuple with a corresponding GML element, extends this interface.
| Field Summary | |
|---|---|
static int |
X_INDEX
DOCUMENT ME! |
static int |
Y_INDEX
DOCUMENT ME! |
static int |
Z_INDEX
DOCUMENT ME! |
| Method Summary | |
|---|---|
Coordinate |
getCoordinate(int index)
Returns the n-th coordinate of this coordinate tuple. |
Coordinate |
getX()
Convenience method to retrieve the first coordinate. |
Coordinate |
getY()
Convenience method to retrieve the second coordinate. |
Coordinate |
getZ()
Convenience method to retrieve the third coordinate. |
| Field Detail |
|---|
static final int X_INDEX
static final int Y_INDEX
static final int Z_INDEX
| Method Detail |
|---|
Coordinate getX()
Coordinate getY()
Coordinate getZ()
Coordinate getCoordinate(int index)
index - Represents an index into the coordinate tuple. The lowest
index is 0.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||