Skip to main content

Class: Curve2D

Hierarchy

Constructors

constructor

new Curve2D(handle)

Parameters

NameType
handleHandle_Geom2d_Curve

Overrides

WrappingObj.constructor

Defined in

lib2d.ts:186

Properties

_boundingBox

_boundingBox: null | BoundingBox2d

Defined in

lib2d.ts:185

Accessors

boundingBox

get boundingBox(): BoundingBox2d

Returns

BoundingBox2d

Defined in

lib2d.ts:195


firstParameter

get firstParameter(): number

Returns

number

Defined in

lib2d.ts:218


firstPoint

get firstPoint(): Point2D

Returns

Point2D

Defined in

lib2d.ts:214


geomType

get geomType(): CurveType

Returns

CurveType

Defined in

lib2d.ts:231


innerCurve

get innerCurve(): Geom2d_Curve

Returns

Geom2d_Curve

Defined in

lib2d.ts:210


lastParameter

get lastParameter(): number

Returns

number

Defined in

lib2d.ts:222


lastPoint

get lastPoint(): Point2D

Returns

Point2D

Defined in

lib2d.ts:298


repr

get repr(): string

Returns

string

Defined in

lib2d.ts:206


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

adaptor

adaptor(): Geom2dAdaptor_Curve

Returns

Geom2dAdaptor_Curve

Defined in

lib2d.ts:226


clone

clone(): Curve2D

Returns

Curve2D

Defined in

lib2d.ts:238


delete

delete(): void

Returns

void

Inherited from

WrappingObj.delete

Defined in

register.ts:54


isOnCurve

isOnCurve(point): boolean

Parameters

NameType
pointPoint2D

Returns

boolean

Defined in

lib2d.ts:246


parameter

parameter(point): number

Parameters

NameType
pointPoint2D

Returns

number

Defined in

lib2d.ts:265


reverse

reverse(): void

Returns

void

Defined in

lib2d.ts:242


splitAt

splitAt(points): Curve2D[]

Parameters

NameType
pointsPoint2D[]

Returns

Curve2D[]

Defined in

lib2d.ts:321


tangentAt

tangentAt(index): Point2D

Parameters

NameType
indexnumber

Returns

Point2D

Defined in

lib2d.ts:302


value

value(parameter): Point2D

Parameters

NameType
parameternumber

Returns

Point2D

Defined in

lib2d.ts:291