SGconvexHull

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 2.5.1, Creation date: 2015-09-15, Last change: 2025-09-14

returns the convex hulls of a solid geometry

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

See Also: SGnegativeform

Example Illustration

 missing image of SGconvexHull(SG,sep)

Syntax

[SGC,TR3]=SGconvexHull(SG,[sep])

Input Parameter

SG: Solid Geometry
sep: false=one; true=separated solids

Output Parameter

SGC: Convex hull(s) of the Solid
TR3: Delaunay Triangulation

Examples


SGconvexHull(SGsample(7))
SGconvexHull(SGsample(9))
SGconvexHull(SGplatesofSGML(SGbox([60,40,20])),true)
SGconvexHull(SGplatesofSGML(SGbox([60,40,20])),false)




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