Documentação da API > Solids and parts > Object ProPart > Function ProPartTessellate
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:
Synopsis
#include <ProPart.h>
ProPartTessellate
(
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
*/
/* (Out)
Pointer to a ProArray of ProSurfaceTessellationData, one for each surface of the part.
*/
)
Returns
The function successfully tessellated each surface.
One or more of the input arguments were invalid.
Tessellation of some surfaces failed.
Tessellation of some surfaces may have missing or overlapping triangles.
Sample Code References
User Guide References
Isto foi útil?