距离计算

This commit is contained in:
zh
2025-07-15 10:37:23 +08:00
parent 040049236d
commit 12fcb9fed7
14 changed files with 73 additions and 70 deletions

View File

@ -31,7 +31,7 @@ class Corridor extends Base {
fromDegreesArray.push(positions[i].lng, positions[i].lat)
}
let length = this.computeDistance(positions)
let length = this.computeDistance2(positions)
let geometry = new Cesium.CorridorGeometry({
positions: Cesium.Cartesian3.fromDegreesArray(fromDegreesArray),