2D, 3D and spatial relationships