getOrdinate method

double getOrdinate(
  1. int index,
  2. int ordinate
)
override

@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];
}