SGof2CPLzcorrelate
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 4.9.1, Creation date: 2020-08-27, Last change: 2025-09-14
creates a solid between two vessel structure CPL
Description
written in Grindelwald, CH ( See also SGof2CPLzheurist)
This is a more generic version of SGof2CPLzbranch but requires SGof2CPLzbranch. In contrast to SGof2CPLzbranch this function is able to handle transformed CPLs as intermediate levels and automatically detects the fusion of CPLsduring transformation.
This is the function you need for connecting cross sections of vessel stuctures
See Also: SGof2CPLzheurist
, SGof2CPLzbranch
Example Illustration
Syntax
[SGA,FLW,FLA,FLB,FLC,FLD]=SGof2CPLzcorrelate([CPLA,CPLB,z])
Input Parameter
CPLA: | | Contour A or CVLz with CPLB as CVLz(max(z)) |
CPLB: | | Contour B |
z: | | [z n] [h and n interlevels] or list of z values [0 z1 z2 ... ] |
Output Parameter
SGA: | | Solid Geometry |
FLW: | | Facet of walls wrt to SGA.VL |
FLA: | | Facet of floor wrt to SGA.VL |
FLB: | | Facet of cover wrt to SGA.VL |
FLC: | | Faces missing in A wrt to SGA.VL |
FLD: | | Faces missing in B wrt to SGA.VL |
Examples
SGof2CPLzcorrelate(CPLsample(27),CPLsample(26),[100 1]); SGA=ans;
SGof2CPLzcorrelate(CPLsample(26),CPLsample(27),[100 1]); SGA=ans;
SGof2CPLzcorrelate(CPLsample(26),CPLsample(27),[100 10]); SGA=ans;
SGof2CPLzcorrelate(CPLsample(26),CPLsample(27),[1 10]); SGA=ans;
Copyright 2020-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