BBofSG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 3.3, Creation date: 2017-01-05, Last change: 2025-09-14

returns the bounding box of a solid geoemtry

Description

Creates the vertex list of all vertices of the solid geometry. The calculates the bounding box. Supports nested SG. In case of kinematic structures, only BBofSG can create turned bound boxes.

Different to SGBB

See Also: SGBB , BBofVL , CPLofBB , SGofBB , BBofCPS , VLFLofBB

Example Illustration

 missing image of BBofSG(SG,sep,kin)

Syntax

[BB,SGBB]=BBofSG(SG,[sep,kin])

Input Parameter

SG: Solid Geoemtry
sep: separation of cells; default is false
kin: Frame for optimized bounding boxes; default is 'B'

Output Parameter

BB: Bounding Box
SGBB: optional Solid Geometry of the bounding box

Examples


load JACO_robot
BBofSG(JACO)
BBofSG(JACO,true)




Copyright 2017-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