Category Solids and parts, Object ProPart

Function ProPartTessellate


Description
Returns a tessellation (also called a triangulation) of each surface of the specified part. For parts, acts on all surfaces. For assemblies, acts only on surfaces of the assembly, not components.

NOTE: Use function ProPartTessellationFree() to release memory allocated by this function.

Replacement in Object TOOLKIT: wfcWPart::Tessellate
Synopsis
#include <ProPart.h>
ProErrorProPartTessellate(
ProPart part
/* (In)
The part
*/
double chord_ht
/* (In)
The maximum allowable chord height ( > 0 )
*/
double angle_cntrl
/* (In)
The angle control (between 0.0 and 1.0)
*/
ProBoolean include_quilts
/* (In)
Include quilts and facets or not
*/
ProSurfaceTessellationData** output
/* (Out)
Pointer to a ProArray of ProSurfaceTessellationData, one for each surface of the part.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully tessellated each surface.
PRO_TK_BAD_INPUTSOne or more of the input arguments were invalid.
PRO_TK_GENERAL_ERRORA tessellation error occurred.

Manual References:

  1. User Interface: Basic Graphics: Surface Properties
  2. User Interface: Basic Graphics: Surface Properties
  3. Core: 3D Geometry: Part and Assembly Tessellation
  4. Core: 3D Geometry: Part and Assembly Tessellation

Sample Code References:

  1. pt_examples ( TestExport.c )