SGslicercheck

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 4.8, Creation date: 2019-09-03, Last change: 2025-09-14

checks for problems with faces and edges in the slicing plane



See Also: SGslicer , CPLofSGslice , SGcut

Example Illustration

 missing image of SGslicercheck(SG,z)

Syntax

[n,F,L1,L2,L3]=SGslicercheck(SG,[z])

Input Parameter

SG: Solid Geometry
z: z value for slicing

Output Parameter

n: [number of faces, number of edges] empty if there are no problems
F: index list of faces
L1: index list of edge 1-2
L2: index list of edge 2-3
L3: index list of edge 3-1

Examples


SGslicercheck(SGbox([30,20,10]),-5)
SGslicercheck(SGbox([30,20,10]),+5)
SGslicercheck(SGbox([30,20,10]),0)




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