Category Geometry items, Object ProCurve

Function ProCurveTessellationGet


Description
Retrieves the curve tessellation for the specified datum curve.
Replacement in Object TOOLKIT: wfcWCurve::GetCurveTessellation
Synopsis
#include <ProCurve.h>
ProErrorProCurveTessellationGet(
ProCurve p_curve_handle
/* (In)
The curve handle
*/
double tolerance
/* (In)
The maximum distance between the tessellation polyline and the curve.
*/
Pro3dPnt** p_points
/* (Out)
The list of tessellation points (to be released by ProArrayFree(). If not required, this argument can be NULL.
*/
int* p_count
/* (Out)
The number of tessellation points.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input argument was invalid.

Manual References:

  1. Core: 3D Geometry: Curve and Edge Tessellation

Sample Code References:

  1. pt_examples ( TestDispObject.c )
  2. pt_examples ( TestGeom.c )