矩阵旋转
double org[3] = { 10.0,0.0,0.0 }; double mtx[9] = { 1.0,0,0,0,1.0,0,0,0,1.0 }; double axisZ[3] = { 0,0,1.0 }; UF_MTX3_rotate_about_axis(axisZ, 180.0 * DEGRA, mtx);//旋转180° tag_t csysTag = NULL_TAG; tag_t mtxTag = NULL_TAG; UF_CSYS_create_matrix(mtx, &mtxTag); UF_CSYS_create_csys(org, mtxTag, &csysTag); UF_CSYS_set_wcs(csysTag); UF_OBJ_delete_object(csysTag);