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​

getKey​

▸ getKey(): string

获取唯一标识符

Get a unique key assigned to an auxiliary vertex.

Returns​

string

The unique key.

Defined in​

api.d.ts:1493


getNeighborCurves​

▸ getNeighborCurves(): KAuxiliaryCurve[]

获取相邻的参考线

Get all auxiliary curves connected through this vertex.

Returns​

KAuxiliaryCurve[]

An array of curves connected through this vertex.

Defined in​

api.d.ts:1511


getPoint​

▸ getPoint(): KPoint3d

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

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

Returns​

KPoint3d

The geometric 3D point.

Defined in​

api.d.ts:1502


getType​

▸ getType(): KTopoType | KEntityType

获取图形实体类型

Get the entity's type.

Returns​

KTopoType | KEntityType

The entity's type.

Inherited from​

KEntity.getType

Defined in​

api.d.ts:3252