CPLisccwcorrected
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 3.9, Creation date: 2017-05-27, Last change: 2025-09-14
returns a CPL with all CPLs in correct orientation cw/ccw order is unchanged !
Description
Slow function - CPLisccwcorrectedCPS does the same (5.1) without cio return
The solution of 2017 is still slow but the only solution
See Also: CPLisccwinout
, CPLsortinout
, CPLisccw
, CPLsetallcw
, CPLisccwcorrectedCPS
Example Illustration
Syntax
[CPL,cio]=CPLisccwcorrected([CPL])
Input Parameter
Output Parameter
CPL: | | Corrected CPL |
cio: | | inside outside index |
Examples
dbplot(CPLsample(44),CPLisccwcorrected(CPLsample(44)),'sub','asccw')
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