[name]

[name] contains spline and B├ęzier functions internally used by concrete curve classes.

Methods

[method:Float CatmullRom]( [param:Float t], [param:Float p0], [param:Float p1], [param:Float p2], [param:Float p3] )

t -- interpolation weight.
p0, p1, p2, p3 -- the points defining the spline curve.

Used internally by [page:SplineCurve SplineCurve].

[method:Float QuadraticBezier]( [param:Float t], [param:Float p0], [param:Float p1], [param:Float p2] )

t -- interpolation weight.
p0, p1, p2 -- the starting, control and end points defining the curve.

Used internally by [page:QuadraticBezierCurve3 QuadraticBezierCurve3], [page:QuadraticBezierCurve QuadraticBezierCurve] and [page:Font Font].

[method:Float CubicBezier]( [param:Float t], [param:Float p0], [param:Float p1], [param:Float p2], [param:Float p3] )

t -- interpolation weight.
p0, p1, p2, p3 -- the starting, control(twice) and end points defining the curve.

Used internally by [page:CubicBezierCurve3 CubicBezierCurve3], [page:CubicBezierCurve CubicBezierCurve] and [page:Font Font].

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]