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_ERRORTessellation of some surfaces failed.
PRO_TK_INCOMPLETE_TESSTessellation of some surfaces may have missing or overlapping triangles.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestExport.c )