LiMeshingRefinementCreate

FunctionLtMeshingRefinement
LiMeshingRefinementCreate( LtVoid
)
Synopsis Create a brand new meshing refinement.
Locationligeops
Parameters
None.
Return Value An empty meshing refinement.

Description Allows the API user to get a handle on a meshing refinement, that can be shaped to their own ends, by manipulating its meshing criteria. Unless some of its criteria are explicitly set, the meshing refinement returned by the routine will have no effect on how a primitive to which it is attached, is triangulated. By explicitly manipulating the values associated with the refinement's criteria, such an effect is possible.

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

Example
/*
 * Create a brand new meshing refinement
 */
mesh_ref = LiMeshingRefinementCreate();
if ( not mesh_ref )
   /* memory allocation failure */
See Also LiPrimitiveTriangulate
LiPrimitiveHierarchicalTriangulate
LiMeshingRefinementUnSetCriterion
LiMeshingRefinementSetCriterion
LiMeshingRefinementCriterionState
LiMeshingRefinementGetCriterion
LiPrimitiveSetMeshingRefinement
LiPrimitiveGetMeshingRefinement
LiMeshingRefinementCopy
LiMeshingRefinementDebug
LiMeshingRefinementDestroy


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