void cvxCurveFree ( svxCurve *Crv /* I: curve structure */ ) /* DESCRIPTION: Frees memory associated with the specified curve structure. */ ________________________________________________________________________________ int cvxMemAlloc ( int NumBytes, /* I: no. of bytes to allocate */ void **MemPointer /* O: pointer to allocated memory */ ) /* DESCRIPTION: Allocates chunk of memory of requested size from system heap. Returns void pointer to specified amount of memory. Returns 1 if memory could not be allocated; 0 if successful. */ ________________________________________________________________________________ void cvxMemFree ( void **MemPointer /* I: address of pointer to be free'd */ ) /* DESCRIPTION: Frees memory at specified pointer. Sets pointer to NULL if memory was freed successfully. If the input pointer is already NULL, this function does nothing. */ ________________________________________________________________________________ int cvxMemResize ( int NumBytes, /* I: new memory size in bytes */ void **MemPointer /* I: address of pointer to memory to be resized */ /* O: pointer to resized memory */ ) /* DESCRIPTION: Resizes memory chunk that was allocated via VxMemAlloc(). If input pointer is NULL, allocates new memory. Outputs pointer to resized memory. If memory cannot not be resized, the input pointer is not modified. Returns 1 if memory could not be resized; 0 if successful. */ ________________________________________________________________________________ void cvxMemZero ( void *MemPointer, /* I: pointer to memory */ int NumBytes /* I: number of bytes to zero */ ) /* DESCRIPTION: Zero "NumBytes" of data beginning with "MemPointer". */ ________________________________________________________________________________ void cvxSurfaceFree ( svxSurface *Srf /* I: NURB surface structure */ ) /* DESCRIPTION: Frees memory associated with the specified surface structure. */ ________________________________________________________________________________