| |||||||
Function | LtMeshingCallBacks
| ||||||
Synopsis |
Create a new meshing callbacks data structure, by copying an existing one.
| ||||||
Location | ligeops | ||||||
Parameters |
| ||||||
Return Value |
The address of a meshing callbacks data structure, containing exactly those
calls that are found in copy_me
| ||||||
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, or invalid input has been encountered. 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 |
/* * Copy an existing meshing callbacks */ mesh_calls2 = LiMeshingCallBacksCopy(mesh_calls); data = LiDataCreate(); if ( mesh_calls2 && data ) { LiDataSetGenericPtr(data, (LtGenericPtr)mesh_calls2); status = LiMeshingRefinementSetCriterion(meshref, LI_MESH_CRIT_CALLBACKS, data); ... } | ||||||
See Also |
LiPrimitiveTriangulate LiPrimitiveHierarchicalTriangulate LiMeshingCallBacksSetCall LiMeshingCallBacksGetCall LiMeshingCallBacksCallState LiMeshingCallBacksCreate LiMeshingCallBacksDebug LiMeshingCallBacksDestroy LiMeshingInsertBridge LiMeshingEdgeSplit LiMeshingEdgeSwap LiMeshingTriProperties
| ||||||
Copyright © 1990-1998, 1999 LightWork Design Limited. All rights reserved |