SGconvexHullXYZ

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

creates a convex solid by the intersection of the three projections in X Y Z

Description

ATTENTION: Since 2 boolean operations are used in a sequence, there is a significant risc of non watertight models
Tim Lueth considers this function as unreliable but helpful
(First Version from 2019-07-17 named SGofSGhull)
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: SGconvexHull , CPLselectinout , SGofCPLextrude , SGintersect

Example Illustration

 missing image of SGconvexHullXYZ(SGP,

Syntax

SGN=SGconvexHullXYZ([SGP,"debug"])

Input Parameter

SGP: Original Solid
"debug": if used; the individual processing steps are shown

Output Parameter

SGN: intersection of the three projections in X Y Z

Examples


SGconvexHullXYZ(SGsample(7))
SGconvexHullXYZ(SGsample(7),'debug'); SG=ans;
SGcheckmeshlab(SG)




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