文章作者:里海
来源网站:https://blog.csdn.net/WangPaiFeiXingYuan
简介:
获取对象的边界包容盒 UF_MODL_ask_bounding_box_aligned,可以得到指定坐标系下的盒子,速度快,结果不精确
效果:
代码:
//UF_MODL_ask_bounding_box_aligned
#include "me.hpp"
#include <iostream>
#include <chrono>
extern DllExport void ufusr(char* param, int* returnCode, int rlen)
{
UF_initialize();
tag_t tagObj = selectBody();
double block_corner_pt[3];
char charC[132] = "";
char charK[132] = "";
char charG[132] = "