Qurak

ShortestCurveDistance

利用可能

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

トピック

関連

全 6300 関数 · MCPクライアントから使う