NX二次开发 UFUN创建圆弧(三点圆弧) UF_CURVE_create_arc_3point
//VS8.0+VS2010
#include <uf_curve.h>
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
//起点
double start_point[3];
start_point[0] = 0.0;
start_point[1] = 0.0;
start_point[2] = 0.0;
tag_t start_point_tag = NULL_TAG;
UF_CURVE_create_point(start_point, &start_point_tag);
//终点
double end_point[3];
end_point[0] = 100.0;
end_point[1] = 0.0;
end_point[2] = 0.0;
tag_t end_point_tag = NULL_TAG;
UF_CURVE_create_point(end_point, &end_point_tag);
//第三点
double point3[3];
point3[0] = 50.0;
point3[1] = 50.0;
point3[2] = 0.0;
tag_t point3_tag = NULL_TAG;
UF_CURVE_create_point(point3, &point3_t