Function ProEllipsedataGet
Description
Retrieves information from the ellipse data structure.
NOTE:
The function ignores the output arguments with null pointers.
Synopsis
#include <ProCurvedata.h>
ProEllipsedataGet
(
ProCurvedata* p_curve
/* (In)
The ellipse data structure
*/
Pro3dPnt center
/* (Out)
The center of the ellipse
*/
ProVector x_axis
/* (Out)
First (x) axis vector of the ellipse
*/
ProVector plane_normal
/* (Out)
The axis vector which is normal to the plane of ellipse
*/
double* p_x_radius
/* (Out)
The radius of the ellipse in the direction of 'x_axis'
*/
double* p_y_radius
/* (Out)
The radius of the ellipse in the direction of 'y_axis'
*/
double* p_start_ang
/* (Out)
The starting angular parameter (in radians) of the ellipse
*/
double* p_end_ang
/* (Out)
The end angular parameter (in radians) of the ellipse (The 'y' axis can found as a vector product of plane_normal on x_axis.)
*/
)
Returns
The function successfully retrieved the information.
The specified data is not an ellipse data structure.
The input argument is invalid.
Sample Code References
これは役に立ちましたか?