PLtransform

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Spatial Relations
Introduced first in SolidGeometry 4.9.1, Creation date: 2020-08-28, Last change: 2025-09-14

transforms ONE PL into another PL

Description

New implemented version in SolidGeometry 4.9.1, former function is now PLtransform_2018
Rel 5.1 supports again several sl vaues
PLtransform returns OPEN CPLs
Make sure that orientation is the same

See Also: SGof2CPLz , FLofPLcorrelation , PLcorrelate , CPLcorrelate

Example Illustration

 missing image of PLtransform(PLA,PLB,sl,CL);

Syntax

[PL,CL]=PLtransform(PLA,PLB,[sl,CL]);

Input Parameter

PLA: Point list A
PLB: Point list B
sl: percentage between 0==PLA and 1==PLB; list of values
CL: Correlation List, see PLcorrelate

Output Parameter

PL: CPL ==> or cell list of CPLs if numel (sl)>1
CL: Correlation list

Examples


PLtransform(CPLofPL(PLcircle(10,4)),CPLofPL(PLstar(10)),0.5)
PLtransform(CPLofPL(PLstar(10)),CPLofPL(PLcircle(10,4)),0.2)
PLtransform(CPLofPL(PLstar(10)),CPLofPL(PLcircle(10,4)),0.5); PLc=ans
PLtransform(CPLofPL(PLstar(10)),CPLofPL(PLcircle(10,4)),[0.5 0.7]); PLc=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