几何

圆柱与圆锥展开最短路

圆柱或圆锥上的最短路径通过展开曲面来求:圆柱展开成矩形,圆锥展开成扇形。测地线就是展开图上的直线。

7 分钟难度 2/3交互演示区域不展示广告。
Radius90Height160Wraps1Shortest path588
unrolled rectangle (circumference × height)

Unfold the surface and the shortest path becomes a straight line on the flat net. For a cylinder it is the diagonal of the unrolled rectangle; for a cone it is a chord of the unrolled sector.

Shortest paths on curved surfaces (geodesics) are found by cutting and flattening the surface: a cylinder unrolls to a rectangle, a cone to a sector. The shortest route is then just a straight line on that net — this is the standard method for “ant crawling around a can or a cone” problems.

你看到的是什么

1

剪开曲面并铺平成平面。

2

圆柱的展开图是宽为周长的矩形,路径是它的对角线。

3

圆锥的展开图是扇形,路径是一条弦。

为什么重要

这是“蚂蚁绕罐子或圆锥”问题的标准解法,并引入可展曲面上的测地线。

复杂度与细节

路径长度由展开几何直接得出,为 O(1)。

常见问题

为什么展开保持长度?+

圆柱和圆锥是可展曲面——能在不拉伸的情况下铺平,因此表面距离保持不变。