CPLfillonCPLcontour

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.8, Creation date: 2020-01-05, Last change: 2025-09-14

finds positions for circles within a contour

Description

For negative Values the function treies to find an optimal radius
The is function is very slow than.

See Also: PLonCPLcontour , CPLfillHoneycomb , CPLfillPattern

Example Illustration

 missing image of CPLfillonCPLcontour (CPL,n)

Syntax

CPLfillonCPLcontour(CPL,[n])

Input Parameter

CPL: Closed Polygon Line
n: circle radius or if negative number of points

Examples


CPLfillonCPLcontour(CPLsample(29)*10,+8) % Radius is 8
CPLfillonCPLcontour(CPLsample(29)*10,-8) % 8 Points
CPLfillonCPLcontour(CPLsample(29)*10,-15)




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