KHalfEdge
kds-plugin-document / Exports / KHalfEdge
Interface: KHalfEdge
半边
半边不是一个可以独立存在的酷大师图形实体。它对应于一个Brep数据结构的半边(HalfEdge)。它从属于酷大师图形实体中的面和边
The KHalfEdge class represents the BRep half edge.
Hierarchy
↳
KHalfEdge
Table of contents
Methods
Methods
getBoundedCurve
▸ getBoundedCurve(): KBoundedCurve3d
Get the 3D bound curve corresponding to the half edge.
Returns
The 3D bound curve if successful, otherwise null.
Inherited from
Defined in
api.d.ts:186
getEdge
▸ getEdge(): KEdge
获取所从属的造型边
Get the edge that the half edge belongs to.
Returns
The edge if successful, otherwise null.
Overrides
Defined in
api.d.ts:3224
getLoop
▸ getLoop(): KLoop
获取所从属的环
Get the loop that the half edge belongs to.
Returns
The loop if successful, otherwise null.
Overrides
Defined in
api.d.ts:3233
getNext
▸ getNext(): KHalfEdge
获取环中的下一个半边
Get this half edge's next half edge in the loop.
Returns
The next half edge if successful, otherwise null.
Overrides
Defined in
api.d.ts:3251
getPrev
▸ getPrev(): KHalfEdge
获取环中的上一个半边
Get this half edge's previous half edge in the loop.
Returns
The previous half edge if successful, otherwise null.
Overrides
Defined in
api.d.ts:3260
getShell
▸ getShell(): KShell
获取所从属的壳体
Get the shell that the half edge belongs to.
Returns
The shell if successful, otherwise null.
Overrides
Defined in
api.d.ts:3242
getType
▸ getType(): KTopoType
获取图形实体类型
Get the entity's type.
Returns
The entity's type.
Overrides
Defined in
api.d.ts:3215
getVertexA
▸ getVertexA(): KVertex
获取半边的起点
Get this half edge's start vertex.
Returns
The start vertex if successful, otherwise null.
Overrides
Defined in
api.d.ts:3269
getVertexB
▸ getVertexB(): KVertex
获取半边的终点
Get this half edge's end vertex.
Returns
The end vertex if successful, otherwise null.
Overrides
Defined in
api.d.ts:3278
isReversed
▸ isReversed(): boolean
获取半边的方向是否和边的方向相反。如果相反,返回 true;否则返回 false
Check whether the half edge is reversed to its edge.
Returns
boolean
true if reversed, false if the orientations are same.
Overrides
Defined in
api.d.ts:3287