distance/distance3D : check and comment empty geometry assertions