getM method

double getM(
  1. int index
)
override

@see org.locationtech.jts.geom.CoordinateSequence#getM(int)

Implementation

double getM(int index) {
  if (hasM()) {
    return coordinates![index].getM();
  } else {
    return double.nan;
  }
}