var array =[].concat(result.object.positions);var positions =[];for(var i =0, len = array.length; i < len; i++){var cartographic = Cesium.Cartographic.fromCartesian(array[i]);var longitude = Cesium.Math.toDegrees(cartographic.longitude);var latitude = Cesium.Math.toDegrees(cartographic.latitude);var h = cartographic.height;if(positions.indexOf(longitude)==-1&& positions.indexOf(latitude)==-1){
positions.push(longitude);
positions.push(latitude);
positions.push(h);}}