spatialDimension property
The number of spatial coordinate values (2 for 2D or 3 for 3D).
Implementation
int get spatialDimension => is3D ? 3 : 2;
The number of spatial coordinate values (2 for 2D or 3 for 3D).
int get spatialDimension => is3D ? 3 : 2;