LiMeshingCallBacksGetCall

FunctionLtStatus
LiMeshingCallBacksGetCall( LtMeshingCallBacks meshcalls
LtCallBack call_ID
LtFunc * method
)
Synopsis Get a pointer to the callback of interest.
Locationligeops
Parameters
meshcalls The set of meshing callbacks.
call_ID An ID which specifies the callback of interest.
method Where should the function write its result?
Return Value An indication of success, failure or error. This will return LI_STATUS_OK, unless a NULL meshcalls, an unknown call_ID, or a NULL method, is supplied.

Description Allows the user to establish what function corresponds to a particular callback of the specified meshing callbacks data structure.

Example
/*
 * Ensure all triangles have my properties sorted
 */
status = 
   LiMeshingCallBacksGetCall(meshcalls, 
                             LI_MESH_CALLBACK_TRI_PROPERTIES, 
                             &func);
tri_props_func = (LtFuncMeshingTriProperties)func;

if ( tri_props_func != my_tri_props_func);
   status |= 
      LiMeshingCallBacksSetCall(meshcalls, 
                                LI_MESH_CALLBACK_TRI_PROPERTIES, 
                                (LtFunc)my_tri_props_func);

...

See Also LiPrimitiveTriangulate
LiPrimitiveHierarchicalTriangulate
LiMeshingCallBacksSetCall
LiMeshingCallBacksCallState
LiMeshingCallBacksCreate
LiMeshingCallBacksCopy
LiMeshingCallBacksDebug
LiMeshingCallBacksDestroy
LiMeshingInsertBridge
LiMeshingEdgeSplit
LiMeshingEdgeSwap
LiMeshingTriProperties

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