HM_ExtAPI::GeomVertexGetEdgesCount()

Returns number of edges connected to the vertex.

Syntax

bool GeomVertexGetEdgesCount(
const HM_EntityGeomVertex & vert,
int & edges_count
);

Type

HyperMesh Ext API

Description

The function GeomVertexGetEdgesCount returns the number of edges connected to the vertex. The edges connected to the vertex both at their start and at their end are counted twice.

If the function succeeds, the return value is true. If the function fails, the return value is false. To get extended value information, call HM_ExtAPI::GetLastErrorCode().

Requires including hm_extapi.h.

Inputs

vert
[in] - Handle to vertex object that was returned by previous calls to API functions.
edges_count
[out] - Number of edges connected to the vertex. The edges that have the same vertex on both ends are counted twice.

Errors

None.