dlib.math.interpolation.bezier

Bézier interpolation functions

Members

Aliases

bezier
alias bezier = bezierCubic

Computes cubic Bézier curve

bezierTangent
alias bezierTangent = bezierCubicTangent

Computes cubic Bézier curve tangent

Functions

bezierCubic
T bezierCubic(T A, T B, T C, T D, T t)

Computes cubic Bézier curve

bezierCubicTangent
T bezierCubicTangent(T a, T b, T c, T d, T t)

Computes cubic Bézier curve tangent

bezierTangentVector2
Vector!(T, 2) bezierTangentVector2(Vector!(T, 2) a, Vector!(T, 2) b, Vector!(T, 2) c, Vector!(T, 2) d, T t)

Computes cubic Bézier curve tangent in 2D space

bezierTangentVector3
Vector!(T, 3) bezierTangentVector3(Vector!(T, 3) a, Vector!(T, 3) b, Vector!(T, 3) c, Vector!(T, 3) d, T t)

Computes cubic Bézier curve tangent in 3D space

bezierVector2
Vector!(T, 2) bezierVector2(Vector!(T, 2) a, Vector!(T, 2) b, Vector!(T, 2) c, Vector!(T, 2) d, T t)

Computes cubic Bézier curve in 2D space

bezierVector3
Vector!(T, 3) bezierVector3(Vector!(T, 3) a, Vector!(T, 3) b, Vector!(T, 3) c, Vector!(T, 3) d, T t)

Computes cubic Bézier curve in 3D space

Meta

Authors

Timur Gafarov