CPLofmeshgridrods
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 3.8, Creation date: 2017-04-23, Last change: 2025-09-14
returns two grid line templates
See Also: SGdrawingtemplateofCPL
Example Illustration
Syntax
[CPL,PLX,PLY,PL]=CPLofmeshgridrods(X,Y,[d])
Input Parameter
X: | | List of X values |
Y: | | List of Y values |
d: | | optional thichness of CPL; default is 0 |
Output Parameter
CPL: | | Complete list of lines |
PLX: | | Only X lines |
PLY: | | Only Y lines |
PL: | | Point List (unique) |
Examples
CPLtemplateofCPL(CPLofmeshgridrods([0 15 25 35 45 55 65],0:8:8*22),1,true);
SGdrawingtemplateofCPL(CPLofmeshgrid([0 15 25 35 45 55 65],8*[0 1 6 8 13 15 20 23]),1)
SGdrawingtemplateofCPL(B,1)
Copyright 2017-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