by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.2, Creation date: 2022-07-03, Last change: 2025-09-15
See Also: SGunionreplace
, CPLunion
, CPLadd
, CPLbool
, CPLsubtract
, CPLintersect
, CPLxor
, CPLconcat
CPL=CPLunionreplace(CPLA,CPLB,[relparam,"type","ol"])
CPLA: | Contour A | |
CPLB: | Contour B | |
relparam: | relative parameter to adjust position | |
"type": | bb, convexhull, delaunay, fillgap | |
"ol": | optional overl; default is 0 |
CPL: | Final contour |
CPLunionreplace(PLcircle(30),CPLsample(13))
CPLunionreplace(PLcircle(30),CPLsample(13),'type','bb')
CPLunionreplace(PLcircle(30),CPLsample(13),'type','convexhull')
CPLunionreplace(PLcircle(30),CPLsample(13),'type','delaunay')
CPLunionreplace(PLcircle(30),CPLsample(13),'aligntop','type','fillgap')