KTopoEdge
kds-plugin-document / Exports / KTopoEdge
Interface: KTopoEdge
The KTopoEdge class represents a BRep edge. You may think edges are boundaries of a face, and each edge represents a bounded curve (line segment, arc, etc.)
Hierarchy
↳
KTopoEdge
↳↳
KEdge
Table of contents
Methods
Methods
getBoundedCurve
▸ getBoundedCurve(): KBoundedCurve3d
Retrieve the 3D bounded curve corresponding to the edge. NOTE: Now it is always the 3D line segment.
Returns
The 3D bounded curve if successful, otherwise null.
Defined in
api.d.ts:54
getHalfEdges
▸ getHalfEdges(): KTopoHalfEdge
[]
Retrieve all the involved half edges of this edge.
Returns
The array of half edges.
Defined in
api.d.ts:38
getKey
▸ getKey(): string
Get a unique key assigned to a edge.
Returns
string
The unique key.
Defined in
api.d.ts:28
getShell
▸ getShell(): KTopoShell
Retrieve the shell that the edge belongs to.
Returns
The shell if successful, otherwise null.
Defined in
api.d.ts:33
getType
▸ getType(): KTopoType
Get the entity's type.
Returns
The entity's type.
Inherited from
Defined in
api.d.ts:102
getVertexA
▸ getVertexA(): KTopoVertex
Retrieve edge's start vertex.
Returns
The start vertex if successful, otherwise null.
Defined in
api.d.ts:43
getVertexB
▸ getVertexB(): KTopoVertex
Retrieve edge's end vertex.
Returns
The end vertex if successful, otherwise null.
Defined in
api.d.ts:48
isSoft
▸ isSoft(): boolean
Get whether the edge is a soft edge. A soft edge will cause the connected faces to be treated as a surface. This means that if you select one face it will also select all faces connected with soft edges. A soft edge will also appear hidden.
Returns
boolean
Return true if it is a soft edge, otherwise return false.
Defined in
api.d.ts:62