[name]

An extensible curve object which contains methods for interpolation.

Constructor

[name]()

This constructor creates a new [name].

Methods

[method:todo getPoint]( t )

Returns a vector for point t of the curve where t is between 0 and 1

[method:todo getPointAt]( u )

Returns a vector for point at relative position in curve according to arc length

[method:todo getPoints]( divisions )

Get sequence of points using getPoint( t )

[method:todo getSpacedPoints]( divisions )

Get sequence of equi-spaced points using getPointAt( u )

[method:todo getLength]()

Get total curve arc length

[method:todo getLengths]( divisions )

Get list of cumulative segment lengths

[method:todo updateArcLengths]()

Update the cumlative segment distance cache

[method:todo getUtoTmapping]( u, distance )

Given u ( 0 .. 1 ), get a t to find p. This gives you points which are equidistant

[method:todo getTangent]( t )

Returns a unit vector tangent at t. If the subclassed curve do not implement its tangent derivation, 2 points a small delta apart will be used to find its gradient which seems to give a reasonable approximation

[method:todo getTangentAt]( u )

Returns tangent at equidistant point u on the curve

Source

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