Skip to content

Threepp.CubicBezierCurve

2D cubic Bezier curve

A cubic Bezier curve with two control points.

Members

Constructors

Properties

Methods


CubicBezierCurve

Constructor

Arguments

Arguments Default Description
v0   Start point.
v1   First control point.
v2   Second control point.
v3   End point.

Description

Constructor


v0

Property \ Access: r/w

Description

Start point (read-only)


v1

Property \ Access: r/w

Description

First control point (read-only)


v2

Property \ Access: r/w

Description

Second control point (read-only)


v3

Property \ Access: r/w

Description

End point (read-only)


getLength

Method

Description

Gets the length of the curve


getPoint

Method

Arguments

Arguments Default Description
t  

Description

Gets the point at parameter t (0-1)