dimensions

abstract fun dimensions(): Int(source)

Returns the number of dimensions of the spatial object.

Return

the number of dimensions, e.g., 1 for a line, 2 for a plane, 3 for space.