SGgrow
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 2.4, Creation date: 2015-08-03, Last change: 2025-09-14
returns the same solid by with increased dimensions
Description
grows a solid by adding the vertex normal vector to the vertex coordinates multiplied by a factor d. ATTENTION, The MATLAB-original vertex normal calculation is not always correct. Therefor in this function we used a different methods with some side effects too.
SGgrow function is perfect to analyze the correctness of Surface Solids
BTW: CATIA LIMITS THE SPATIAL RESOLUTION TO 0.01mm, ie. 1e-2
See Also: SGgrowoutsideFS
, SGmagnifyVL
Example Illustration
Syntax
SGN=SGgrow(SG,d,[thr])
Input Parameter
SG: | | Solid Geometry |
d: | | grow distance |
thr: | | threshold for SGselect; default ist 1e-12 |
Output Parameter
SGN: | | resulting solid geoemtry |
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