CPLisclosedCPL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 5.5, Creation date: 2025-07-28, Last change: 2025-09-15

return wether the contours are open or closed in a CPL



See Also: CPLisccwcorrected

Example Illustration

 missing image of CPLisclosedCPL(CPL)

Syntax

[fot,ol]=CPLisclosedCPL(CPL)

Input Parameter

CPL: CPL format contours

Output Parameter

fot: overall result
ol: index list of open contour

Examples


CPLisclosedCPL(CPLsample(10))
CPLisclosedCPL(CPLsample(12))
CPLisclosedCPL(CPLsample(38))




Copyright 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