getOrdinate method
@see PackedCoordinateSequence#getOrdinate(int, int) Beware, for performance reasons the ordinate index is not checked, if it's over dimensions you may not get an exception but a meaningless value.
Implementation
double getOrdinate(int index, int ordinate) {
return coords[index * dimension + ordinate];
}