Function ProEllipsedataInit
Description
Initializes an ellipse data structure.
Synopsis
#include <ProCurvedata.h>
ProEllipsedataInit
(
Pro3dPnt center
/* (In)
The center of the ellipse
*/
ProVector x_axis
/* (In)
First (x) axis vector of the ellipse
*/
ProVector plane_normal
/* (In)
The axis vector which is normal to the plane of ellipse
*/
double x_radius
/* (In)
The radius of the ellipse in the direction of 'x' axis
*/
double y_radius
/* (In)
The radius of the ellipse in the direction of 'y' axis
*/
double start_ang
/* (In)
The starting angular parameter (in radians) of the ellipse
*/
double end_ang
/* (In)
The end angular parameter (in radians) of the ellipse (The 'y' axis can found as a vector product of plane_normal on x_axis.)
*/
ProCurvedata* p_curve
/* (Out)
The ellipse data structure
*/
)
Returns
The function successfully initialized the ellipse data structure.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
Was this helpful?