Skip to main content

KWire

kds-plugin-document / Exports / KWire

Interface: KWire

酷大师图形实体:造型线集合

The KWire class represents the BRep wire.

Hierarchy

Table of contents

Methods

Methods

getEdges

getEdges(): KEdge[]

获取该线集合所包含的边

Get the edges that the wire contains.

Returns

KEdge[]

The array of edges.

Overrides

KTopoWire.getEdges

Defined in

api.d.ts:7002


getHalfEdges

getHalfEdges(): KHalfEdge[]

获取对应的半边

Retrieve all the involved half edges of this edge.

Returns

KHalfEdge[]

The array of half edges.

Overrides

KTopoWire.getHalfEdges

Defined in

api.d.ts:6993


getKey

getKey(): string

Get a unique key assigned to a wire.

Returns

string

The unique key.

Inherited from

KTopoWire.getKey

Defined in

api.d.ts:293


getShell

getShell(): KShell

获取所从属的壳体

Retrieve the shell that the edge belongs to.

Returns

KShell

The shell if successful, otherwise null.

Overrides

KTopoWire.getShell

Defined in

api.d.ts:6984


getType

getType(): KTopoType

获取图形实体类型

Get the entity's type.

Returns

KTopoType

The entity's type which is KTopoType

Overrides

KEntity.getType

Defined in

api.d.ts:6975


getVertices

getVertices(): KVertex[]

获取该线集合所包含的顶点

Get the vertices that the wire contains.

Returns

KVertex[]

The array of vertices.

Overrides

KTopoWire.getVertices

Defined in

api.d.ts:7011