Category
Surface geometry
, Object
ProSurfacedata
Function ProSurfacedataAlloc
Description
Allocates memory for a surface data structure.
Synopsis
#include <
ProSurfacedata.h
>
ProError
ProSurfacedataAlloc
(
ProSurfacedata
**
pp_surf_data
/* (Out)
The surface data structure
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully allocated memory for the data structure.
PRO_TK_OUT_OF_MEMORY
Insufficient memory.
PRO_TK_BAD_INPUTS
The input is invalid.
Manual References:
Interface: Importing Features: Adding Surfaces
Sample Code References:
pt_examples ( TestAnalysisSurface.c )
pt_examples ( TestGeomdata.c )