Skip to main content

KTopoVertex

kds-plugin-document / Exports / KTopoVertex

Interface: KTopoVertex

The KTopoVertex class represents a BRep vertex.

Hierarchy

Table of contents

Methods

Methods

getEdges

getEdges(): KTopoEdge[]

Retrieve the vertex's edges whose start or end vertex is this vertex.

Returns

KTopoEdge[]

The vertex's edges.

Defined in

api.d.ts:254


getPoint

getPoint(): KPoint3d

Retrieve the vertex's geometric point.

Returns

KPoint3d

The vertex's geometric point if successful, else null.

Defined in

api.d.ts:259


getType

getType(): KTopoType

Get the entity's type.

Returns

KTopoType

The entity's type.

Inherited from

KTopoEntity.getType

Defined in

api.d.ts:102


isSoft

isSoft(): boolean

Get whether the vertex is a soft vertex or not. A soft vertex will cause the connected edges to be treated as a curve. This means that if you select one edge it will also select all edges connected with soft vertices.

Returns

boolean

Return true if it is a soft vertex, otherwise return false.

Defined in

api.d.ts:267