Skip to content

Class: QuadraticBezierCurve2D

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

constructor

new QuadraticBezierCurve2D(v0, v1, v2): QuadraticBezierCurve2D

Parameters

NameType
v0Vector2
v1Vector2
v2Vector2

Returns

QuadraticBezierCurve2D

Overrides

Curve2D.constructor

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:9

Properties

curveType

curveType: CurveType

Inherited from

Curve2D.curveType

Defined in

packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:11


v0

v0: Vector2

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:5


v1

v1: Vector2

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:6


v2

v2: Vector2

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:7

Accessors

points

get points(): Vector2[]

Returns

Vector2[]

Overrides

Curve2D.points

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:17

Methods

getPoints

getPoints(divisions?): Vector2[]

Parameters

NameTypeDefault value
divisionsnumber5

Returns

Vector2[]

Inherited from

Curve2D.getPoints

Defined in

packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:23


getPoint

getPoint(t, result?): Vector2

Parameters

NameType
tnumber
resultVector2

Returns

Vector2

Overrides

Curve2D.getPoint

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:21


copyFrom

copyFrom(other): void

Parameters

NameType
otherQuadraticBezierCurve2D

Returns

void

Defined in

packages/geometry/ExtrudeGeometry/Curve/QuadraticBezierCurve2D.ts:29