Category Curve and edge geometry, Object ProSplinedata

Function ProSplinedataGet


Description
Retrieves information from the spline data structure.

NOTE:

The function ignores the output arguments with null pointers.

Synopsis
#include <ProCurvedata.h>
ProErrorProSplinedataGet(
ProCurvedata* p_curve
/* (In)
The spline data structure
*/
double** p_par_arr
/* (Out)
The pointer to a ProArray of spline parameters. Free this output using ProArrayFree().
*/
ProPoint3d** p_pnt_arr
/* (Out)
The pointer to a ProArray of spline interpolant points. Free this output using ProArrayFree().
*/
ProPoint3d** p_tan_arr
/* (Out)
The pointer to a ProArray of tangent vectors at each point. Free this output using ProArrayFree().
*/
int* p_num_points
/* (Out)
The size for all the arrays
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_INVALID_TYPEThe specified data is not a spline data structure.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_examples ( TestAnalysisCurve.c )
  2. pt_examples ( TestAnalysisCurve.c )
  3. pt_examples ( TestAnalysisCurve.c )
  4. pt_examples ( TestGeomdata.c )
  5. pt_examples ( UtilIntfData.c )