geometry: implement `Point::dist` for 3D points