Class: Curve2D
Hierarchy
Curve2D
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Curve2D(): Curve2D
Returns
Properties
curveType
• curveType: CurveType
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:11
Accessors
points
• get
points(): Vector2
[]
Returns
Vector2
[]
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:13
Methods
getPoint
▸ getPoint(t
, result?
): Vector2
Parameters
Name | Type |
---|---|
t | number |
result | Vector2 |
Returns
Vector2
Defined in
packages/geometry/ExtrudeGeometry/Curve/Curve2D.ts:18
getPoints
▸ getPoints(divisions?
): Vector2
[]
Parameters
Name | Type | Default value |
---|---|---|
divisions | number | 5 |
Returns
Vector2
[]