BB=SGBB(SG,[d])
SG : | Solid Geometry | |
d : | extension of bounding box; default is 0 |
BB : | Solid Geometry of an Bound Box in the same frame as the solid |
SG=SGrotate(SGBAUHAUSbox([160 85 25],55,[pi/3 pi -pi/3]),'y',-pi/2+17/180*pi); SGfigure(SG);
SGBB(SG) % This fnction
SGofBB(SG) % Standard BB
SGconvexHull(SG) % Convex Hull
SGconvexHullXYZ(SG)% Convex hull of world frame projections