HM_ExtAPI::GeomSurfaceGetType()
Returns surface type.
Syntax
bool GeomSurfaceGetType(
const HM_EntityGeometrySurface& surface,
HM_ExtAPI::SurfaceType& styp
);
Type
HyperMesh Ext API
Description
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(). The parameter ctyp in case of failure is set to HM_ExtAPI::NOT_A_SURFACE().
Requires including hm_extapi.h.
Inputs
- surface
- [in] - Handle to surface object that was returned by previous calls to API functions.
- styp
- [out] - Surface type. When function returns, this parameter can have one of the following values.
Errors
None.