HM_ExtAPI::MeshGetDeviatingGridCount()
Returns total number of mesh grid points that deviate from original model geometry.
Syntax
bool MeshGetDeviatingGridCount(
const HM_EntityMesh& hmesh,
int& grid_count
);
Type
HyperMesh Ext API Function
Description
The criteria used to flag grid points of the mesh as "deviating" may vary for meshes obtained in different API function calls. In the HM_ExtAPI::GenerateMesh() function the tolerance set on input as a member of HM_Topology structure is used as a threshold value for deviating grid points.
The function HM_ExtAPI::MeshGetGridCount() returns total number of grid points, which includes deviating grid points.
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
- hmesh
- [in] - Handle to mesh object that was returned by previous calls to API functions.
- grid_count
- [out] - Total number of deviating grid points in the mesh referenced by mesh object.
Errors
None.