CVLzisccwcorrected

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CVLz/Slices
Introduced first in SolidGeometry 5.1, Creation date: 2021-03-30, Last change: 2025-09-15

corrects cw/ccw orientation and removes doubled start/end points



See Also: CPLisccwcorrectedCPS

Example Illustration

 missing image of CVLzisccwcorrected(CVLz,keepcolinear,simplify)

Syntax

CVLz=CVLzisccwcorrected(CVLz,[keepcolinear,simplify])

Input Parameter

CVLz: List of planar CPLs with
keepcolinear: default is true
simplify: default is true | NEVER CHANGE TO FALSE!

Output Parameter

CVLz: New CVLz in right order and

Examples


tic; CVLzisccwcorrected(CVLzsample); toc
tic; CVLzisccwcorrected(CVLzaddauxpoints(CVLzsample,1),true); toc
tic; CVLzisccwcorrected(CVLzaddauxpoints(CVLzsample,1),false); toc




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