Category Surface geometry, Object ProSurfacedata

Function ProSurfacedataInit


Description
Initializes a surface data structure.
Synopsis
#include <ProSurfacedata.h>
ProErrorProSurfacedataInit(
ProSrftype surf_type
/* (In)
The surface type
*/
ProUvParam surf_uv_min
/* (In)
The surface minimum UV extents.

If you are using this data to create a feature via ProImportfeatCreate(), the extents are not used and can be set to {0.0, 0.0}

*/
ProUvParam surf_uv_max
/* (In)
The surface maximum UV extents

If you are using this data to create a feature via ProImportfeatCreate(), the extents are not used and can be set to {0.0, 0.0}

*/
ProSurfaceOrient surf_orient
/* (In)
The surface orientation
*/
ProSurfaceshapedata* p_surf_shape
/* (In)
The surface shape
*/
int surf_id
/* (In)
The surface identifier
*/
ProSurfacedata* p_surf_data
/* (Out)
The surface data structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the data structure.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Interface: Importing Features: Adding Surfaces
  2. Interface: Importing Features: Adding Surfaces

Sample Code References:

  1. pt_examples ( TestAnalysisSurface.c )
  2. pt_examples ( TestGeomdata.c )
  3. pt_userguide ( UgImportfeatCreate.c )
  4. pt_userguide ( UgImportfeatCreate.c )
  5. pt_userguide ( UgImportfeatCreate.c )
  6. pt_userguide ( UgImportfeatCreate.c )
  7. pt_userguide ( UgImportfeatCreate.c )
  8. pt_userguide ( UgImportfeatCreate.c )
  9. pt_userguide ( UgImportfeatCreate.c )
  10. pt_userguide ( UgImportfeatCreate.c )