SGselectGroupofT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.7, Creation date: 2019-08-01, Last change: 2025-09-14

returns the part of the solid that contains a point, or a frame center

Description

ATTENTION: SGselectGroupofT is based on SGanalyzeGroupParts is based on SGanalyzePenetration is based on VLFLinpolyhedron. VLFLinpolyhedron has a some bug such as the problem to interprete multi-surface solids

See Also: SGselect3d , SGanalyzePenetration , SGanalyzeGroupParts , SGcutT

Example Illustration

 missing image of SGselectGroupofT(SG,T,gmethod)

Syntax

SGN=SGselectGroupofT(SG,T,[gmethod])

Input Parameter

SG: Solid
T: Frame or point
gmethod: default is 'box'

Output Parameter

SGN: Selected Groups of Solids

Examples


SGselectGroupofT(SGsample(17),[0 0 5]) % wrong result
SGselectGroupofT(SGsample(17),[0 0 3]) % correct result




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