//svxPoint minipt=左下角点
int make_box_lines(svxMatrix matx,double box[3], svxPoint minipt,vector <int>& line_ids)
{
vector <svxPoint> boxpoints(10);
boxpoints[0] = { minipt.x ,minipt.y ,minipt.z };
boxpoints[1] = { boxpoints[0].x + box[0] ,boxpoints[0].y ,boxpoints[0].z };
boxpoints[2] = { boxpoints[1].x ,boxpoints[1].y + box[1] ,boxpoints[1].z };
boxpoints[3] = { boxpoints[2].x - box[0] ,boxpoints[2].y ,boxpoints[2].z };
boxpoints[4] = boxpoints[0];
boxpoints[5] = { boxpoints[4].x ,boxpoints[4].y ,boxpoints[4].z + box[2] };
boxpoints[6] = { boxpoints[5].x + box[0] ,boxpoints[5].y ,boxpoints[5].z };
boxpoints[7] = { boxpoints[6].x ,boxpoints[6].y + box[1],boxpoints[6].z };
boxpoints[8] = { boxpoints[7].x - box[0] ,boxpoints[7].y ,boxpoints[7].z };
boxpoints[9] = boxpoint
ZW3D二次开发
最新推荐文章于 2024-07-10 22:49:54 发布