SGBB

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 5.3, Creation date: 2023-03-19, Last change: 2025-09-15

Creates the Bounding Box Solid in the solids frame

Description

SGofBB(SG) Creates the Bounding Box Solid in the world frame
SGBB Creates the Bounding Box Solid in the solids frame
SGconvexHull(SG) Create the Convex Hull in in the solids frame
SGconvexHullXYZ(SG) Create the projected Convex Hull in the world frame

different to BBofSG

See Also: BBofSG , SGofBB , SGconvexhull , SGconvexHullXYZ

Example Illustration

 missing image of SGBB(SG,d)

Syntax

BB=SGBB(SG,[d])

Input Parameter

SG: Solid Geometry
d: extension of bounding box; default is 0

Output Parameter

BB: Solid Geometry of an Bound Box in the same frame as the solid

Examples


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




Copyright 2023-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21