aerocaps.geom.nurbs_purepython.bezier_curve_eval#
- bezier_curve_eval(p: List[List[float]], t: float) List[float][source]#
Evaluates a Bézier curve with \(n+1\) control points at a single \(t\)-value according to
\[\mathbf{C}(t) = \sum\limits_{i=0}^n B_{i,n}(t) \mathbf{P}_i\]where \(B_{i,n}(t)\) is the Bernstein polynomial.
- Parameters:
- Returns:
Value of the Bézier curve at \(t\). Has the same size as the inner dimension of
p- Return type:
List[float]