你可以使用四个点高程一致(平面)和四个点高程不致(比较两个200、两个195)测试下,看返回的面积是不是一样的。也和桌面端对比下。 我这面测试出来的确有问题,两次返回的面积的确不一致,而且和桌面端返回结果也匹配不上。
测试数据一:统一高度200
请求参数:
{"cutFillType":"REGION3D","resultDataset":"cutfill","buildPyramid":true,"deleteExistResultDataset":true,"region3D":{"id":0,"parts":[5],"type":"REGION3D","points":[{"x":106.72044084818776,"y":29.61513739050467,"z":200},{"x":106.72061539200561,"y":29.615107833458463,"z":200},{"x":106.72057789935158,"y":29.61494918518562,"z":200},{"x":106.72039525021209,"y":29.614967072977553,"z":200},{"x":106.72044084818776,"y":29.61513739050467,"z":200}]}}
返回参数:
{"fillArea":325.948528035376,"remainderArea":0,"succeed":true,"fillVolume":4096.8552933047295,"message":null,"dataset":"cutfill@地形1 - 副本","cutArea":0,"cutVolume":0}
测试数据二:斜面195-200
{"cutFillType":"REGION3D","resultDataset":"cutfill","buildPyramid":true,"deleteExistResultDataset":true,"region3D":{"id":0,"parts":[5],"type":"REGION3D","points":[{"x":106.72044084818776,"y":29.61513739050467,"z":195},{"x":106.72061539200561,"y":29.615107833458463,"z":195},{"x":106.72057789935158,"y":29.61494918518562,"z":200},{"x":106.72039525021209,"y":29.614967072977553,"z":200},{"x":106.72044084818776,"y":29.61513739050467,"z":195}]}}
{"fillArea":253.68310485179921,"remainderArea":0,"succeed":true,"fillVolume":2541.7695388922893,"message":null,"dataset":"cutfill@地形1 - 副本","cutArea":0,"cutVolume":0}