getBoundary3d function

Extract the boundary of a mesh