HM_ExtAPI::GeomFaceGetLoopsCount()

Returns number of loops in the face.

Syntax

bool GeomFaceGetLoopsCount(
const HM_EntityGeomFace & face,
int& loops_count
);

Type

HyperMesh Ext API Function

Description

Each face has at least one loop that defines its external boundary in parametric space.

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

face
[in] - Handle to face object that was returned by previous calls to API function.
loops_count
[out] - Number of loops.

Errors

None.