Gives the geodesic distance between two points on a region — the length of
ShortestCurveDistance[reg, s, t]
ShortestCurveDistance[Circle[], {1, 0}, {0, 1}]
→ Pi/2ShortestCurveDistance[Sphere[], {1, 0, 0}, {x, y, z}]
→ ArcCos[x]ShortestCurveDistance[Disk[], {0, 1}, {x, y}]
→ Sqrt[x^2 + (-1 + y)^2]Round[ShortestCurveDistance[Line[{{1, 0}, {2, 1}, {3, 0}, {4, 1}}], {1, 0}, {3, 0}], 10.^-6]
→ 2.828427- AccuracyGoal — default Automatic
- Assumptions — default $Assumptions
- GenerateConditions — default Automatic
- PerformanceGoal — default $PerformanceGoal
- PrecisionGoal — default Automatic
- WorkingPrecision — default Automatic