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
Defined in
api.d.ts:7002
getHalfEdges
▸ getHalfEdges(): KHalfEdge[]
获取对应的半边
Retrieve all the involved half edges of this edge.
Returns
The array of half edges.
Overrides
Defined in
api.d.ts:6993
getKey
▸ getKey(): string
Get a unique key assigned to a wire.
Returns
string
The unique key.
Inherited from
Defined in
api.d.ts:293
getShell
▸ getShell(): KShell
获取所从属的壳体
Retrieve the shell that the edge belongs to.
Returns
The shell if successful, otherwise null.
Overrides
Defined in
api.d.ts:6984
getType
▸ getType(): KTopoType
获取图形实体类型
Get the entity's type.
Returns
The entity's type which is KTopoType
Overrides
Defined in
api.d.ts:6975
getVertices
▸ getVertices(): KVertex[]
获取该线集合所包含的顶点
Get the vertices that the wire contains.
Returns
KVertex[]
The array of vertices.
Overrides
Defined in
api.d.ts:7011