CPLfillin

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-24, Last change: 2025-09-14

creates a contour that fills a another or several contours

Description

Powerful function that is not the same as CPLpolybool!
Try to use CPLharbour too!

See Also: CPLconvexhull , CPLconvexhulldelaunay , delaunayofCPL , CPLharbour , CPLfillinside , CPLfillgap

Example Illustration

 missing image of CPLfillin(CPL,Amin,Asam)

Syntax

[iCPL,A]=CPLfillin(CPL,[Amin,Asam])

Input Parameter

CPL: Closed Polygon List
Amin: Minimum surface to be interested
Asam: percentage of maximum area ; default a=90%, 0.9

Output Parameter

iCPL: inverse polygon
A: VL and FL of the open surface

Examples


CPLfillin(CPLsample(14));
CPLfillin(CPLsample(19));
CPLfillin(CPLsample(21));




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