<5-3>功能-面Surface

# <5-3>功能接口(面Surface): ### ==5-3-Surface-1==: 添加 范围区域 **接口方法名**:==STU_AddSurface== **参数说明:** >i< id > 范围区域唯一id; < r > 颜色值R,建议取值范围 0 - 1之间; < g > 颜色值G,建议取值范围 0 - 1之间; < b > 颜色值B,建议取值范围 0 - 1之间; < points > 范围区域点数据,起始经纬度点到尾点,至少3个点; < longitude > 经度; < latitude > 纬度; < height > 高度; **参数示例:** ``` { "id": "测试区域1", "r": 0.83, "g": 0.0782, "b": 0, "points": [ { "longitude": "114.03110787", "latitude": "22.55200677", "height": "0.5" }, { "longitude": "114.05254878", "latitude": "22.54688686", "height": "0.5" }, { "longitude": "114.02122745", "latitude": "22.54582688", "height": "0.5" }, { "longitude": "114.04408841", "latitude": "22.53894700", "height": "0.5" }, { "longitude": "114.02255751", "latitude": "22.53162713", "height": "0.5" } ] } ``` >i 返回参数: { "method": "STU_AddSurface", "exception": null, "data": "success" } --- ### ==5-3-Surface-2-1==: 删除 范围区域(按id删除) **接口方法名**:==STU_DeleteSurfaceById== **参数说明:** 字符串格式 >i< id > 按id参数删除范围区域 **参数示例:** ``` { "id": [ "id_0", "id_1", "id_2", "id_3", "id_4", "id_5" ] } ``` >i 返回参数: { "method": "STU_DeleteSurfaceById", "exception": null, "data": "success" } --- ### ==5-3-Surface-2-2==: 删除 所有 范围区域 **接口方法名**:==STU_DeleteAllSurface== >i 无参数,删除所有区域 >i 返回参数: { "method": "STU_DeleteAllSurface", "exception": null, "data": "success" } ---