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:641


endPoint​

• get endPoint(): Vector

Returns​

Vector

Defined in​

shapes.ts:651


isClosed​

• get isClosed(): boolean

Returns​

boolean

Defined in​

shapes.ts:674


isPeriodic​

• get isPeriodic(): boolean

Returns​

boolean

Defined in​

shapes.ts:679


period​

• get period(): number

Returns​

number

Defined in​

shapes.ts:684


repr​

• get repr(): string

Returns​

string

Defined in​

shapes.ts:633


startPoint​

• get startPoint(): Vector

Returns​

Vector

Defined in​

shapes.ts:646


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:656