getCoordinateInto method

void getCoordinateInto(
  1. int index,
  2. Coordinate coord
)
override

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

Implementation

void getCoordinateInto(int index, Coordinate coord) {
  coord.x = coordinates![index].x;
  coord.y = coordinates![index].y;
  if (hasZ()) {
    coord.z = coordinates![index].z;
  }
//    if (hasM()) {
//      coord.setMm = coordinates[index].m;
//    }
}