occ包围盒

Bnd_Box aabb;

BRepBndLib::Add(originShape, aabb, false);

aabb.Get(Xmin, Ymin, Zmin, Xmax, Ymax, Zmax);

const double diag = std::sqrt(aabb.SquareExtent());

posted @ 2022-06-07 10:38  deep_wj  阅读(187)  评论(0)    收藏  举报