HM_ExtAPI::GeomFaceGetSolid()
Returns solid connected to the face.
Syntax
bool GeomFaceGetSolid(
const HM_EntityGeomFace & face,
bool face_sense,
HM_EntityGeomSolid& solid
);
Type
HyperMesh Ext API
Description
If the face has a solid at one of two face sides then this face is a part of one of this solid’s boundaries.
The faces that are not contained in a boundary of any solid are referred as “free” faces in API.
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.
- face_sense
- [in] - The flag that indicates at which side of the face the solid is returned. The value of true indicates that the normal of the face is directed into the volume of the solid. The value of false indicates that the normal of the face is directed outside the volume of the solid.
- solid
- [out] - The handle to the solid. The value of the handle is NULL if the face does not have a solid at specified side.
Errors
None.