使用产品:SuperMap iClient3D for WebGL 操作系统:win7 x64
问题详细描述:通视分析增加目标点失败,isSuccess是false,无法完成通视分析。
问题重现步骤:代码如下:
var sightline = new Cesium.Sightline(viewer.scene);
var color = new Cesium.Color(1, 0, 0);
//设置不可见部分的颜色
sightline.hiddenColor = color;
sightline.viewPosition = [109.05024896306334, 25.89419780235267, 343.5667319797567];
let isSuccess= sightline.addTargetPoint({
postion: [109.07159044632859, 25.88501735701209, 253.05147247515455],
name: "se",
});
if(isSuccess){
sightline.build()
}