dim

val dim: Int = 2

Count of coordinate elements building one coordinate tuple. (2: x1, y1, x2, y2, ...; 3: x1, y1, z1, x2, y2, z2, ...)