Category Surface geometry, Object ProSurfacedata

Function ProSurfacedataGet


Description
Retrieves information from the surface data structure.

NOTE:

The function ignores the output arguments with NULL pointers.

Synopsis
#include <ProSurfacedata.h>
ProErrorProSurfacedataGet(
ProSurfacedata* p_surf_data
/* (In)
The surface data structure
*/
ProSrftype* p_surf_type
/* (Out)
The surface type
*/
ProUvParam surf_uv_min
/* (Out)
The surface minimum UV extents
*/
ProUvParam surf_uv_max
/* (Out)
The surface maximum UV extents
*/
ProSurfaceOrient* p_surf_orient
/* (Out)
The surface orientation
*/
ProSurfaceshapedata* p_surf_shape
/* (Out)
The surface shape
*/
int* p_surf_id
/* (Out)
The surface identifier
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestAnalysisSurface.c )
  3. pt_examples ( TestGeomdata.c )
  4. pt_examples ( UtilIntfData.c )