createSizeDim abstract method

CoordinateSequence createSizeDim(
  1. int size,
  2. int dimension
)

Creates a {@link CoordinateSequence} of the specified size and dimension. For this to be useful, the {@link CoordinateSequence} implementation must be mutable.

If the requested dimension is larger than the CoordinateSequence implementation can provide, then a sequence of maximum possible dimension should be created. An error should not be thrown.

@param size the number of coordinates in the sequence @param dimension the dimension of the coordinates in the sequence (if user-specifiable, otherwise ignored)

Implementation

CoordinateSequence createSizeDim(int size, int dimension);