Skip to main content

KTopoHalfEdge

kds-plugin-document / Exports / KTopoHalfEdge

Interface: KTopoHalfEdge

The KTopoHalfEdge class represents a BRep half edge.

Hierarchy​

Table of contents​

Methods​

Methods​

getBoundedCurve​

▸ getBoundedCurve(): KBoundedCurve3d

Get the 3D bound curve corresponding to the half edge.

Returns​

KBoundedCurve3d

The 3D bound curve if successful, otherwise null.

Defined in​

api.d.ts:196


getEdge​

▸ getEdge(): KTopoEdge

Get the edge that the half edge belongs to.

Returns​

KTopoEdge

The edge if successful, otherwise null.

Defined in​

api.d.ts:181


getLoop​

▸ getLoop(): KTopoLoop

Get the loop that the half edge belongs to.

Returns​

KTopoLoop

The loop if successful, otherwise null.

Defined in​

api.d.ts:186


getNext​

▸ getNext(): KTopoHalfEdge

Get this half edge's next half edge in the loop.

Returns​

KTopoHalfEdge

The next half edge if successful, otherwise null.

Defined in​

api.d.ts:201


getPrev​

▸ getPrev(): KTopoHalfEdge

Get this half edge's previous half edge in the loop.

Returns​

KTopoHalfEdge

The previous half edge if successful, otherwise null.

Defined in​

api.d.ts:206


getShell​

▸ getShell(): KTopoShell

Get the shell that the half edge belongs to.

Returns​

KTopoShell

The shell if successful, otherwise null.

Defined in​

api.d.ts:191


getType​

▸ getType(): KTopoType

Get the entity's type.

Returns​

KTopoType

The entity's type.

Inherited from​

KTopoEntity.getType

Defined in​

api.d.ts:112


getVertexA​

▸ getVertexA(): KTopoVertex

Get this half edge's start vertex.

Returns​

KTopoVertex

The start vertex if successful, otherwise null.

Defined in​

api.d.ts:211


getVertexB​

▸ getVertexB(): KTopoVertex

Get this half edge's end vertex.

Returns​

KTopoVertex

The end vertex if successful, otherwise null.

Defined in​

api.d.ts:216


isReversed​

▸ isReversed(): boolean

Check whether the half edge is reversed to its edge.

Returns​

boolean

true if reversed, false if the orientations are same.

Defined in​

api.d.ts:221