Category Curve and edge geometry, Object ProSplinedata

Function ProSplinedataInit


Description
Initializes a spline data structure.
Synopsis
#include <ProCurvedata.h>
ProErrorProSplinedataInit(
double* par_arr
/* (In)
A ProArray of spline parameters
*/
ProPoint3d* pnt_arr
/* (In)
A ProArray of spline interpolant points
*/
ProPoint3d* tan_arr
/* (In)
A ProArray of tangent vectors at each point
*/
int num_points
/* (In)
The size for all the arrays
*/
ProCurvedata* p_curve
/* (Out)
The spline data structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the spline data structure.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Interface: Importing Features: Adding Edges
  2. Interface: Importing Features: Adding Edges

Sample Code References:

  1. pt_examples ( TestAnalysisCurve.c )
  2. pt_examples ( TestAnalysisCurve.c )
  3. pt_examples ( TestGeomdata.c )
  4. pt_examples ( TestDtlentity.c )