Category Surface geometry, Object ProRulsrfdata

Function ProRulsrfdataGet


Description
Retrieves information from the ruled surface data structure.

NOTE:

This function ignores the output arguments with NULL pointers.

Synopsis
#include <ProSurfacedata.h>
ProErrorProRulsrfdataGet(
ProSurfaceshapedata* p_surf_shape
/* (In)
The ruled surface data structure
*/
ProVector e1
/* (Out)
The X-axis of the coordinate system
*/
ProVector e2
/* (Out)
The Y-axis of the coordinate system
*/
ProVector e3
/* (Out)
The Z-axis of the coordinate system
*/
Pro3dPnt origin
/* (Out)
The origin of the coordinate system
*/
ProCurvedata* p_curve1
/* (Out)
The first curve
*/
ProCurvedata* p_curve2
/* (Out)
The second curve
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_BAD_SRF_CRVInvalid type of curve.
PRO_TK_BSPL_MULTIPLE_INNER_KNOTSThe curve is a B-spline with multiple inner knots.

Sample Code References:

  1. pt_examples ( TestGeomdata.c )
  2. pt_examples ( UtilIntfData.c )