Skip to content

Class: Curve2D

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Curve2D(): Curve2D

Returns

Curve2D

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

NameType
tnumber
resultVector2

Returns

Vector2

Defined in

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


getPoints

getPoints(divisions?): Vector2[]

Parameters

NameTypeDefault value
divisionsnumber5

Returns

Vector2[]

Defined in

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