SGanalyzecrosscenter

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.3, Creation date: 2023-07-10, Last change: 2025-09-15

approximates the center points of intruding surfaces

Description

time consuming function

See Also: SGsurfaces , SGintersectFacetPoints

Example Illustration

 missing image of SGanalyzecrosscenter(SG,isexact)

Syntax

[CLL,SGB,BB]=SGanalyzecrosscenter(SG,[isexact])

Input Parameter

SG: Solid Geometry consisting of overlapping separated surfaces
isexact: if true; the real surface instead of BB is used; default is false

Output Parameter

CLL: collison list [ind-A ind-B [x y z] vol-A vol-B]
SGB: cell list of surfaces of SG
BB: cell list of bounding boxes of SG

Examples


SG=SGreadSTL('/Volumes/LUETH-WIN/STL Wenckstern Hotrod/human-model-of-a-soldier-or-guard-1/Soldierwgun.STL');

SGanalyzecrosscenter(SG,false);




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