Skip to content

Threepp.QuadraticBezierCurve

2D quadratic Bezier curve

A quadratic Bezier curve with one control point.

Members

Constructors

Properties

Methods


QuadraticBezierCurve

Constructor

Arguments

Arguments Default Description
v0   Start point.
v1   Control point.
v2   End point.

Description

Constructor


v0

Property \ Access: r/w

Description

Start point (read-only)


v1

Property \ Access: r/w

Description

Control point (read-only)


v2

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)