Category Curve and edge geometry, Object ProLinedata

Function ProLinedataGet


Description
Retrieves information from the line data structure.

NOTE:

The function ignores the output arguments with null pointers.

Synopsis
#include <ProCurvedata.h>
ProErrorProLinedataGet(
ProCurvedata* p_curve
/* (In)
The line data structure
*/
Pro3dPnt end1
/* (Out)
The beginning of the line
*/
Pro3dPnt end2
/* (Out)
The end of the line
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_INVALID_TYPEThe specified data is not a line data structure.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_autoaxis ( AutoAxis.c )
  3. pt_examples ( TestAnalysisCurve.c )
  4. pt_examples ( TestAnalysisCurve.c )
  5. pt_examples ( TestAnalysisCurve.c )
  6. pt_examples ( TestGeomdata.c )
  7. pt_examples ( UtilIntfData.c )