Semantic segmentation of point clouds with the 3D medial axis transform