SGofCPLreinforcement

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 5.4, Creation date: 2024-05-07, Last change: 2025-09-15

creates edge reinforcements based on a CPL

Description

Extracted from SGBAUHAUSbox
The values for depth and radius can be negative numbers too

See Also: SGBAUHAUSbox

Example Illustration

 missing image of SGofCPLreinforcement(CPL,f)

Syntax

F=SGofCPLreinforcement(CPL,[f])

Input Parameter

CPL: Edge contour (inner CPL for positive dept, outer CPL for negative depth)
f: [depth heigh radius]; default is [5 5 0]

Output Parameter

F: Solid edge reinforcement

Examples


CPLi=CPLsample(36)*5; SGofCPLz([CPLbuffer(CPLi,1);nan nan;CPLi],5); SG=ans;
SGofCPLreinforcement(CPLi,[2 2 0]); SGplotalpha(SG,'g',0.5) % sharp edges
SGofCPLreinforcement(CPLbuffer(CPLi,1),[-2 2 0]); SGplotalpha(SG,'g',0.5) % Outer contour
SGofCPLreinforcement(CPLi,[2 2 1]); SGplotalpha(SG,'g',0.5) % radial edges

SGofCPLreinforcement(CPLsample(30),[1 1])




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