圆锥曲线
圆、椭圆、抛物线和双曲线都是圆锥曲线。改变离心率,观察曲线从圆变为双曲线。
6 分钟难度 2/3交互演示区域不展示广告。
TypeEllipseEccentricity e0.65p1.40Directrixx = 2.15
The focus is at the origin. Eccentricity controls the shape: 0 is a circle, between 0 and 1 an ellipse, 1 a parabola, and above 1 a hyperbola. The dashed line is the directrix; every point on the conic is e times farther from the focus than from the directrix.
你看到的是什么
1
圆锥曲线是到焦点距离等于到准线距离 e 倍的点集。
2
离心率 e = 0 是圆,0 < e < 1 是椭圆,e = 1 是抛物线,e > 1 是双曲线。
3
极坐标形式 r = p / (1 + e cos θ) 把焦点放在原点。
为什么重要
圆锥曲线描述行星轨道、抛体轨迹、卫星天线、透镜和双曲线导航。
复杂度与细节
采样 n 个点为 O(n),类型和准线可在 O(1) 内确定。
常见问题
为什么叫圆锥曲线?+
它们是用平面以不同角度切割双圆锥所得到的曲线。
离心率衡量什么?+
它衡量圆锥曲线偏离圆的程度。e 越大,曲线越扁长或越张开。