Category Curve and edge geometry, Object ProArcdata

Function ProArcdataGet


Description
Retrieves information from the arc data structure.

NOTE:

The function ignores the output arguments with null pointers.

Synopsis
#include <ProCurvedata.h>
ProErrorProArcdataGet(
ProCurvedata* p_curve
/* (In)
The arc data structure
*/
ProVector vector1
/* (Out)
The first vector of the arc coordinate system
*/
ProVector vector2
/* (Out)
The second vector of the arc coordinate system
*/
Pro3dPnt origin
/* (Out)
The center of the arc coordinate system
*/
double* p_start_angle
/* (Out)
The starting angle (in radians) of the arc
*/
double* p_end_angle
/* (Out)
The end angle (in radians) of the arc
*/
double* p_radius
/* (Out)
The radius of the arc
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_INVALID_TYPEThe specified data is not an arc 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 )