Bezier.point
- Bezier.point(t)[source]
Compute a point on the curve.
- Parameters
t (float) – The value of the curve parameter. Must be between 0 and 1.
- Returns
Point – the corresponding point on the curve.
Examples
>>> curve = Bezier([[0.0, 0.0, 0.0], [0.5, 1.0, 0.0], [1.0, 0.0, 0.0]]) >>> curve.point(0.0) Point(0.000, 0.000, 0.000) >>> curve.point(1.0) Point(1.000, 0.000, 0.000)