跳转至

TEllipseStandard2D

椭圆标准描述模式参数结构体

结构体说明:

typedef struct
{
    short plane;
    short dir;
    short overrideSelect;
    short pad;

    double endPoint1;
    double endPoint2;

    double centerPoint1;
    double centerPoint2;

    double theta;
    double a;
    double b;
}TEllipseStandard2D;

plane:椭圆平面选择。

NTERPOLATION_CIRCLE_PLAT_XY(0):XY。
INTERPOLATION_CIRCLE_PLAT_YZ(1):YZ。
INTERPOLATION_CIRCLE_PLAT_ZX(2):ZX。
dir:椭圆方向,0:顺时针;1:逆时针。
overrideSelect:速度倍率选择,0:第1组倍率;1:第2组倍率。
pad:保留参数,必须为0。
endPoint1:终点坐标1,意义根据参数plane来定,如果palne为XY平面,则endPoint1为X坐标,endPoint2为Y坐标。
endPoint2:终点坐标2。
centerPoint1:椭圆圆心坐标1,意义根据plane来定,如果palne为XY平面,则centerPoint1为X坐标,centerPoint2为Y坐标。
centerPoint2:椭圆圆心坐标2。
theta:椭圆旋转角度,单位:度。
a:椭圆长轴。
b:椭圆短轴,短轴必须比长轴短。

调用指令:

注意事项: