CPLunitesorted

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Boolean
Introduced first in SolidGeometry 3.8, Creation date: 2017-04-23, Last change: 2025-09-14

returns sorted and added closed polygons

Description

..have the impression to have implemented this function already several times in different manner..

See Also: CPLsortinout , CPLunitecwccw , CPLmeltbool

Example Illustration

 missing image of CPLunitesorted(CPL)

Syntax

CPLN=CPLunitesorted(CPL)

Input Parameter

CPL: Closed Polygon Line

Output Parameter

CPLN: systematically ordered and Boolean operated CPL

Examples


A=[0 0; 10 0;NaN NaN;5 -5; 5 +5]
CPLunitesorted(CPLtemplateofCPL(A))




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