CVLof2CPLzcorrelate

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVL/Closed Vertex Lists
Introduced first in SolidGeometry 4.9.1, Creation date: 2020-08-27, Last change: 2025-09-14

returns a CVL list for a correlated fusion of 2 CPL over a distance of z

Description

Last modification 2025-08-07 by Tim Lueth including full test with examples
This function is used in SGof2CPLzcorrelate - slow but powerful
Written in Grindelwald, Switzerland
SG-Lib 5.1, z can also be a list of z levels (This was unfortunately not implemented until 5.5


See Also: SGof2CPLzcorrelate , CPLcorrelate , PLtransform , CPLtransform , PLcorrelate

Example Illustration

 missing image of CVLof2CPLzcorrelate(CPLA,CPLB,z)

Syntax

[CVLz,dz,MCA,MCB,CPRA,CPRB]=CVLof2CPLzcorrelate([CPLA,CPLB,z])

Input Parameter

CPLA: Contour A in 2D
CPLB: Contour B in 2D
z: [h n] for [height, interlevels] or [0 z1 z2 ... zn]

Output Parameter

CVLz: CVLz with a
dz: list of z values
MCA: Deleted contour in CPLA
MCB: Deleted contour in CPLB
CPRA: Missing contour in CPLA
CPRB: Missing contour in CPLB

Examples



CVLof2CPLzcorrelate(CPLsample(26),CPLsample(27),[20 2]); SGA=ans; % Two equidistant Interlevels
CVLof2CPLzcorrelate(CPLsample(26),CPLsample(27),[0 2 18 20]); SGA=ans; % Two arbitrary Interlevels
CVLof2CPLzcorrelate(CPLsample(26),CPLsample(27),100); CVLz=ans
CVLof2CPLzcorrelate(CPLsample(27),CPLsample(26),100); CVLz=ans
CVLof2CPLzcorrelate(CPLsample(27),CPLsample(26),[100 3]); CVLz=ans
[c,z]=CVLof2CPLzcorrelate(CPLsample(27),CPLsample(26),[100 3]); z
CVLof2CPLzcorrelate(CPLsample(5),CPLsample(12),100);
CVLof2CPLzcorrelate(CPLsample(12),CPLsample(5),100);
CVLof2CPLzcorrelate(CPLsample(12),CPLsample(14),100);




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