createCoordinate method

Coordinate createCoordinate()

Creates a coordinate for use in this sequence.

The coordinate is created supporting the same number of {@link #getDimension()} and {@link #getMeasures()} as this sequence and is suitable for use with {@link #getCoordinate(int, Coordinate)}.

@return coordinate for use with this sequence

Implementation

Coordinate createCoordinate() {
  return Coordinates.createWithMeasure(getDimension(), getMeasures());
}