PackedCoordinateSequence constructor
Creates an instance of this class @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
PackedCoordinateSequence(this.dimension, this.measures) {
if (dimension - measures < 2) {
throw ArgumentError("Must have at least 2 spatial dimensions");
}
}