createFromDoublesDimMeas method
Creates a packed coordinate sequence of type {@link #DOUBLE} from the provided array using the given coordinate dimension and measure count.
@param packedCoordinates the array containing coordinate values @param dimension the coordinate dimension @param measures the coordinate measure count @return a packed coordinate sequence of type {@link #DOUBLE}
Implementation
CoordinateSequence createFromDoublesDimMeas(
List<double> packedCoordinates, int dimension, int measures) {
if (type == DOUBLE) {
return Double(packedCoordinates, dimension, measures);
} else {
throw ArgumentError("Only PackedCoordinateSequence Double supported");
}
}