intersection([0, 0], [0, 90], [0, 45], [90, 45]); // [1.5707963267948966, 0]
// you need to convert the result to degrees if you want to use it in degrees
intersection([0, 0], [0, 90], [0, 45], [90, 45]).map(x => x * 180 / Math.PI); // [90, 0]
Generated using TypeDoc
求解两条球面线段的交点