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