HM_ExtAPI::GeomCoedgeGetFace()

Returns face connected to the coedge.

Syntax

bool GeomCoedgeGetFace(
const HM_EntityGeomCoedge & coedge,
bool coedge_sense,
HM_EntityGeomFace& face
);

Type

HyperMesh Ext API

Description

All coedges that are returned by the functions of the API are part of some of face loops and have face on one or both of their sides.

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

coedge
[in] - Handle to coedge object that was returned by previous calls to API functions.
coedge_sense
[in] - The flag that indicates at which side of the coedge the face is returned. The value of true indicates that the face on the left if returned. The value of false indicates that the face is on the right is returned.
face
[out] - The handle to the face. The value of the handle is NULL if the coedge does not have a face at specified side.

Errors

None.