createFromDoublesDim method

CoordinateSequence createFromDoublesDim(
  1. List<double> packedCoordinates,
  2. int dimension
)

Creates a packed coordinate sequence of type {@link #DOUBLE} from the provided array using the given coordinate dimension and a measure count of 0.

@param packedCoordinates the array containing coordinate values @param dimension the coordinate dimension @return a packed coordinate sequence of type {@link #DOUBLE}

Implementation

CoordinateSequence createFromDoublesDim(
    List<double> packedCoordinates, int dimension) {
  return createFromDoublesDimMeas(
      packedCoordinates, dimension, DEFAULT_MEASURES);
}