Skip to main content

KAuxiliaryBoundedCurve

kds-plugin-document / Exports / KAuxiliaryBoundedCurve

Interface: KAuxiliaryBoundedCurve

参考线段对象。即用户在酷大师界面中,用“参考线段”命令画出的各种参考线段、参考圆弧等

The KAuxiliaryBoundedCurve class represents the auxiliary bounded curve. NOTE: Now only the auxiliary line segment and the auxiliary arc are supported.

Hierarchy

Table of contents

Methods

Methods

getBoundedCurve

getBoundedCurve(): KBoundedCurve3d

获取参考线段的几何外形曲线,如直线段、圆弧等

Get the geometric bounded curve corresponding to the bounded curve. NOTE: Now only the line segment and the arc are supported.

Returns

KBoundedCurve3d

Return the geometric bounded curve if successful, otherwise return null.

Defined in

api.d.ts:1072


getEndVertex

getEndVertex(): KAuxiliaryVertex

获取参考线段的终止顶点

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

Returns

KAuxiliaryVertex

The auxiliary vertex at the end of the auxiliary bounded curve.

Defined in

api.d.ts:1094


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


getStartVertex

getStartVertex(): KAuxiliaryVertex

获取参考线段的起始顶点

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

Returns

KAuxiliaryVertex

The auxiliary vertex at the start of the auxiliary bounded curve.

Defined in

api.d.ts:1083


getType

getType(): KEntityType

获取图形实体类型

Get the entity's type.

Returns

KEntityType

The entity's type.

Inherited from

KAuxiliaryCurve.getType

Defined in

api.d.ts:2656


isVisible

isVisible(): boolean

获取该参考线段是否可见

Get the auxiliaryBoundedCurve property of it is visible or not.

Returns

boolean

Overrides

KAuxiliaryCurve.isVisible

Defined in

api.d.ts:1102