这里描述的一些技术可能会有所帮助,但是依赖于输入表面是栅格的形式
https://knowledge.亚搏在线safe.com/questions/73813/create-3d-voxel-or-polygon-from-rasters.html