Category Geometry items, Object ProSurface

Function ProSurfaceTessellationGet


Description
Calculates the tessellation of a given surface.
Replacement in Object TOOLKIT: wfcWSurface::GetTessellation
Synopsis
#include <ProSurface.h>
ProErrorProSurfaceTessellationGet(
ProSurface surface
/* (In)
The surface.
*/
ProSurfaceTessellationInput input
/* (In)
Input instructions for the tessellation.
*/
ProTessellation* tessellation
/* (Out)
The tessellation data. Free this using ProTessellationFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_OUT_OF_MEMORYCreo Parametric could not allocate memory for the output.
PRO_TK_GENERAL_ERRORThe function could not generate the tessellation for the input surface.

Manual References:

  1. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Surface Properties
  3. Core: 3D Geometry: Surface Tessellation
  4. Core: 3D Geometry: Surface Tessellation

Sample Code References:

  1. pt_examples ( TestDispObject.c )