Double.fromSizeDimMeas constructor

Double.fromSizeDimMeas(
  1. int size,
  2. int dimension,
  3. int measures
)

Builds a new empty packed coordinate sequence of a given size and dimension

@param size the number of coordinates in this sequence @param dimension the total number of ordinates that make up a {@link Coordinate} in this sequence. @param measures the number of measure-ordinates each {@link Coordinate} in this sequence has.

Implementation

Double.fromSizeDimMeas(int size, int dimension, int measures)
    : super(dimension, measures) {
  coords = List.filled(size * this.dimension, 0.0);
}