Skip to main content

KAuxiliaryVertex

kds-plugin-document / Exports / KAuxiliaryVertex

Interface: KAuxiliaryVertex

参考线顶点 参考线顶点是参考线段的端点。如果两个参考线段是相连的,那么它们共享一个参考线顶点。移动此参考线顶点,会导致相邻的参考线段形状发生改变

The KAuxiliaryVertex class represents the auxiliary vertex. The auxiliary vertex is the connection point between auxiliary bounded curves. Through the auxiliary vertex you can get all auxiliary bounded curves connected through this vertex. If you move the auxiliary point, all auxiliary bounded curves connected through this vertex will also be moved.

Hierarchy

Table of contents

Methods

Methods

getAuxiliaryBoundedCurve

getAuxiliaryBoundedCurve(): KAuxiliaryBoundedCurve[]

获取相邻的参考线段

Get all auxiliary bounded curves connected through this vertex.

Returns

KAuxiliaryBoundedCurve[]

An array of bounded curves connected through this vertex.

Defined in

api.d.ts:1205


getKey

getKey(): string

获取唯一标识符

Get a unique key assigned to an auxiliary vertex.

Returns

string

The unique key.

Defined in

api.d.ts:1187


getPoint

getPoint(): KPoint3d

获取参考线顶点的几何点表达

Get the geometric 3D point corresponding to the auxiliary vertex.

Returns

KPoint3d

The geometric 3D point.

Defined in

api.d.ts:1196


getType

getType(): KEntityType

获取图形实体类型

Get the entity's type.

Returns

KEntityType

The entity's type.

Inherited from

KEntity.getType

Defined in

api.d.ts:2656