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.
PRO_TK_INCOMPLETE_TESSResulting tessellation may have missing or overlapping triangles

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDispObject.c )