Class: CubicBezierCurve2D
Hierarchy
↳
CubicBezierCurve2D
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new CubicBezierCurve2D(v0
, v1
, v2
, v3
): CubicBezierCurve2D
Parameters
Name | Type |
---|---|
v0 | Vector2 |
v1 | Vector2 |
v2 | Vector2 |
v3 | Vector2 |
Returns
Overrides
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:10
Properties
v0
• v0: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:5
v1
• v1: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:6
v2
• v2: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:7
v3
• v3: Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:8
curveType
• curveType: CurveType
Inherited from
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:11
Accessors
points
• get
points(): Vector2
[]
Returns
Vector2
[]
Overrides
Curve2D.points
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:18
Methods
getPoint
▸ getPoint(t
, result?
): Vector2
Parameters
Name | Type |
---|---|
t | number |
result | Vector2 |
Returns
Vector2
Overrides
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:22
copyFrom
▸ copyFrom(other
): void
Parameters
Name | Type |
---|---|
other | CubicBezierCurve2D |
Returns
void
Defined in
packages/geometry/ExtrudeGeometry/Curve/CubicBezierCurve2D.ts:30
getPoints
▸ getPoints(divisions?
): Vector2
[]
Parameters
Name | Type | Default value |
---|---|---|
divisions | number | 5 |
Returns
Vector2
[]