TBlendingParameter¶
blending参数结构体
结构体说明:
typedef union BlendingParameter
{
TPathBlendingParameter pathBlendingPrm;
TVelBlendingParameter velBlendingPrm;
double data[20];
} TBlendingParameter;
TPathBlendingParameter
typedef struct PathBlendingParameter
{
short blendType;
short prmType;
short reserve1[2];
double prm;
double reserve2[8];
double minAngle;
double maxAngle;
} TPathBlendingParameter;
BLEND_PARA_TYPE_ERROR(0):过渡参数为误差值,只对BLEND_MODE_ARC生效。
BLEND_PARA_TYPE_RADIUS(1):过渡参数为半径,只对BLEND_MODE_ARC生效。
BLEND_PARA_TYPE_DISTANCE(2):过渡参数为与过渡点的距离。
prm:保留参数,必须为0。
reserve2:保留参数,必须为0。
minAngle:进行blending处理的最小角度,当轨迹矢量角度变化小于该角度时不进行处理。
maxAngle:进行blending处理的最大角度,当轨迹矢量角度变化大于该角度时不进行处理。
velBlendingPrm:保留参数。
reserve:保留参数,必须为0。
相关指令: