PLdecompose
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-15, Last change: 2025-09-14
returns a list of contour segments that belong to the same angle segment
Description
still weak for contours with no auxiliary points
See Also: CPLdecompose
, PLconvexseg
, CPLconvexseg
Example Illustration
Syntax
SIL=PLdecompose(CPL,[da,mix])
Input Parameter
CPL: | | SINGLE CONTOUR |
da: | | angle; default si pi/6 |
mix: | | if true; minxy is used to start with segment 1; default is false; |
Output Parameter
SIL: | | Separation Index List |
Examples
PLdecompose(CPLaddauxpoints(CPLsample(17),0.1),pi/10)
PLdecompose(CPLaddauxpoints(CPLsample(2),0.1),pi/10)
Copyright 2020-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