Syntax
[GPL,k,x,y]=GPLdistancetoCPL(CPL,[GPL,k,x,y,cdown,cins])
Input Parameter
CPL : | | Contour to use |
GPL : | | grid distance or Grid point list |
k : | | inside outside analysis if existing |
x : | | x mesh grid |
y : | | y mesh grid |
cdown : | | distance to wall or distance to center |
cins : | | inside or outside contour |
Output Parameter
GPL : | | Grid point list |
k : | | distance list; nan for prohibited areas |
x : | | x mesh grid |
y : | | y mesh grid |
Examples
CPL=PLsquare(40,10)
GPLdistancetoCPL(CPL,.05,'','','','',true);
CPL=CPLsample(13);
GPLdistancetoCPL(CPL,.1,'','','','',true);
GPLdistancetoCPL(CPLsample(13),.1,'','','',true);
GPLdistancetoCPL(CPLsample(13),.1,'','','',false);
Copyright 2019-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