Skip to main content

Class: 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:623


endPoint

get endPoint(): Vector

Returns

Vector

Defined in

shapes.ts:633


isClosed

get isClosed(): boolean

Returns

boolean

Defined in

shapes.ts:656


isPeriodic

get isPeriodic(): boolean

Returns

boolean

Defined in

shapes.ts:661


period

get period(): number

Returns

number

Defined in

shapes.ts:666


repr

get repr(): string

Returns

string

Defined in

shapes.ts:615


startPoint

get startPoint(): Vector

Returns

Vector

Defined in

shapes.ts:628


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


tangentAt

tangentAt(position): Vector

Parameters

NameType
positionnumber

Returns

Vector

Defined in

shapes.ts:638