CPLofSGTez

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-01, Last change: 2025-09-15

returns the CPL and the frames plus a frame list using TofCPLT



See Also: PLofCPLequidistant , GPLauxgridpointsCPS2 , TofCPLT

Example Illustration

 missing image of CPLofSGTez(SG,T,nr,

Syntax

[CPLorg,TF,TL,ACVL]=CPLofSGTez(SG,[T,nr,"style"])

Input Parameter

SG: Solid Geomtry
T: Frame of Surface or ez vector
nr: [number-of-points, radius, border]; default is [0 1 0]
"style": 'contour', 'grid', 'xgrid'; default is 'contour'

Output Parameter

CPLorg: Contour of surface
TF: Frame to create CVL from CPL
TL: List of Frames
ACVL: cell list of CVLi;that defined the contours

Examples


CPLofSGTez(SGsample(25),[0 0 1],[6 1]);
CPLofSGTez(SGsample(40),[0 0 1]);
CPLofSGTez(SGsample(41),[0 0 1]);
CPLofSGTez(SGsample(27),[0 0 1]);
CPLofSGTez(SGsample(27),[0 0 1],[20 2],'style','contour');
CPLofSGTez(SGsample(27),[0 0 1],[20 2],'style','grid');
CPLofSGTez(SGsample(27),[0 0 1],[6 1 1],'style','xgrid');




Copyright 2022-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