Skip to main content

KAuxiliaryPiecewiseBezierCurve

kds-plugin-document / Exports / KAuxiliaryPiecewiseBezierCurve

Interface: KAuxiliaryPiecewiseBezierCurve

贝塞尔贝塞尔参考线对象。即用户在酷大师界面中,用“贝塞尔曲线段”命令画出的贝塞尔参考线,由多条顺次连接的贝塞尔曲线生成

The KAuxiliaryPiecewiseBezierCurve class represents the piecewise auxiliary curve which is composed of multiple sequentially connected Bézier curves.

Hierarchy

Table of contents

Methods

Methods

getEndVertex

getEndVertex(): KAuxiliaryVertex

获取贝塞尔参考线的终止顶点

Get the auxiliary vertex at the end of the KAuxiliaryPiecewiseBezierCurve. NOTE: Even if the KAuxiliaryPiecewiseBezierCurve is not connected to other KAuxiliaryPiecewiseBezierCurves at the end, we can still get the auxiliary vertex.

Returns

KAuxiliaryVertex

The auxiliary vertex at the end of the KAuxiliaryPiecewiseBezierCurve.

Defined in

api.d.ts:1226


getKey

getKey(): string

获取参考线的唯一标识符

Get a unique key assigned to an auxiliary curve.

Returns

string

The unique key.

Inherited from

KAuxiliaryCurve.getKey

Defined in

api.d.ts:1144


getPoints

getPoints(): KPoint3d[]

获取贝塞尔参考线的离散点集

Get discrete points of KAuxiliaryPiecewiseBezierCurve

Returns

KPoint3d[]

Defined in

api.d.ts:1204


getStartVertex

getStartVertex(): KAuxiliaryVertex

获取贝塞尔参考线的起始顶点

Get the auxiliary vertex at the start of the KAuxiliaryPiecewiseBezierCurve. NOTE: Even if the KAuxiliaryPiecewiseBezierCurve is not connected to other KAuxiliaryPiecewiseBezierCurves at the start, we can still get the auxiliary vertex.

Returns

KAuxiliaryVertex

The auxiliary vertex at the start of the KAuxiliaryPiecewiseBezierCurve.

Defined in

api.d.ts:1215


getType

getType(): KEntityType

获取图形实体类型

Get the entity's type.

Returns

KEntityType

The entity's type.

Inherited from

KAuxiliaryCurve.getType

Defined in

api.d.ts:2766


isVisible

isVisible(): boolean

获取该贝塞尔参考线是否可见

Get the KAuxiliaryPiecewiseBezierCurve property of it is visible or not.

Returns

boolean

Overrides

KAuxiliaryCurve.isVisible

Defined in

api.d.ts:1234