[name]

An extensible curve object which contains methods for interpolation.

Constructor

[name]()

This constructor creates a new [name].

Methods

.getPoint ( t )

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

.getPointAt ( u )

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

.getPoints ( divisions )

Get sequence of points using getPoint( t )

.getSpacedPoints ( divisions )

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

.getLength ()

Get total curve arc length

.getLengths ( divisions )

Get list of cumulative segment lengths

.updateArcLengths ()

Update the cumlative segment distance cache

.getUtoTmapping ( u, distance )

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

.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

.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]