This constructor creates a new QuadraticBezierCurve.
Readonly
isRead-only flag to check if a given object is of type QuadraticBezierCurve3.
Readonly
typeA Read-only string to check if this
object type.
The start point.
The control point.
The end point.
Generates the Frenet Frames
Expects a Integer
Optional
closed: booleanRequires a Curve definition in 3D space Used in geometries like TubeGeometry or ExtrudeGeometry.
Copies another Curve object to this instance.
Get total Curve arc length.
Returns a vector for a given position on the curve.
A position on the curve. Must be in the range [ 0, 1 ]
. Expects a Float
Optional
optionalTarget: Vector3If specified, the result will be copied into this Vector, otherwise a new Vector will be created. Default new T
.
Returns a unit vector tangent at t
A position on the curve. Must be in the range [ 0, 1 ]
. Expects a Float
Optional
optionalTarget: Vector3If specified, the result will be copied into this Vector, otherwise a new Vector will be created.
If the derived Curve does not implement its tangent derivation, two points a small delta apart will be used to find its gradient which seems to give a reasonable approximation.
Create a smooth 3D quadratic bezier curve, defined by a start point, end point and a single control point.
Example
See