Function: pointLiesOnBezier()
pointLiesOnBezier(
point,controlPoints,roundTo):boolean
Defined in: src/utils/bezier.ts:446
Whether point lies on the Bézier curve defined by controlPoints
(Manim CE point_lies_on_bezier). The point lies on the curve when the
Bézier polynomial has at least one real root in [0, 1].
Parameters
point
number[]
controlPoints
number[][]
roundTo
number = 1e-6
Returns
boolean
Throws
Error when point and the control points have different shapes.