LiMeshingCallBacksCreate

FunctionLtMeshingCallBacks
LiMeshingCallBacksCreate( LtVoid
)
Synopsis Create a brand new meshing callbacks data structure.
Locationligeops
Parameters
None.
Return Value The address of a meshing callbacks data structure, containing default calls.

Description Allows the API user to get a handle on a meshing callbacks data structure, that can be shaped to their own ends, by manipulating its member callbacks.

If the function returns (LtMeshingCallBacks)NULL, a memory allocation error has occurred.

Once a meshing callbacks data structure has been created, the API user can manipulate the callbacks which it represents, and attach the whole thing to a meshing refinement, so that the callbacks can be utilised inside the triangulation code.

Example
/*
 * Create a brand new meshing callbacks
 */
mesh_calls = LiMeshingCallBacksCreate();
data = LiDataCreate();
if ( mesh_calls && data )
{
   LiDataSetGenericPtr(data, (LtGenericPtr)mesh_calls);
   status = 
      LiMeshingRefinementSetCriterion(meshref,
                                      LI_MESH_CRIT_CALLBACKS,
                                      data);
   ...
}
See Also LiPrimitiveTriangulate
LiPrimitiveHierarchicalTriangulate
LiMeshingCallBacksSetCall
LiMeshingCallBacksGetCall
LiMeshingCallBacksCallState
LiMeshingCallBacksCopy
LiMeshingCallBacksDebug
LiMeshingCallBacksDestroy
LiMeshingInsertBridge
LiMeshingEdgeSplit
LiMeshingEdgeSwap
LiMeshingTriProperties


Copyright © 1990-1998, 1999 LightWork Design Limited. All rights reserved