Category Curve and edge geometry, Object ProArcdata

Function ProArcdataInit


Description
Initializes an arc data structure.
Synopsis
#include <ProCurvedata.h>
ProErrorProArcdataInit(
ProVector vector1
/* (In)
The first vector of the arc coordinate system
*/
ProVector vector2
/* (In)
The second vector of the arc coordinate system
*/
Pro3dPnt origin
/* (In)
The center of the arc coordinate system
*/
double start_angle
/* (In)
The starting angle (in radians) of the arc
*/
double end_angle
/* (In)
The end angle (in radians) of the arc
*/
double radius
/* (In)
The radius of the arc
*/
ProCurvedata* p_curve
/* (Out)
The arc data structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the arc 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 )
  5. pt_examples ( TestDtlentity.c )
  6. pt_userguide ( UgImportfeatCreate.c )
  7. pt_userguide ( UgImportfeatCreate.c )