Skip to main content

Curve

Hierarchy

Constructors

constructor

new Curve(wrapped)

Parameters

NameType
wrappedCurveLike

Inherited from

WrappingObj.constructor

Defined in

register.ts:31

Accessors

curveType

get curveType(): CurveType

Returns

CurveType

Defined in

shapes.ts:622


endPoint

get endPoint(): Vector

Returns

Vector

Defined in

shapes.ts:632


isClosed

get isClosed(): boolean

Returns

boolean

Defined in

shapes.ts:663


isPeriodic

get isPeriodic(): boolean

Returns

boolean

Defined in

shapes.ts:668


period

get period(): number

Returns

number

Defined in

shapes.ts:673


repr

get repr(): string

Returns

string

Defined in

shapes.ts:614


startPoint

get startPoint(): Vector

Returns

Vector

Defined in

shapes.ts:627


wrapped

get wrapped(): Type

Returns

Type

Inherited from

WrappingObj.wrapped

Defined in

register.ts:39

set wrapped(newWrapped): void

Parameters

NameType
newWrappedType

Returns

void

Inherited from

WrappingObj.wrapped

Defined in

register.ts:44

Methods

delete

delete(): void

Returns

void

Inherited from

WrappingObj.delete

Defined in

register.ts:54


pointAt

pointAt(position?): Vector

Parameters

NameTypeDefault value
positionnumber0.5

Returns

Vector

Defined in

shapes.ts:644


tangentAt

tangentAt(position?): Vector

Parameters

NameTypeDefault value
positionnumber0.5

Returns

Vector

Defined in

shapes.ts:648