CPLofPLgrowline

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.3, Creation date: 2018-10-30, Last change: 2025-09-14

converts a single open polygon into a grown contour

Description

Reimplemented version of PLgrowline using the polyshape class on 2018-10-30 by Tim Lueth

See Also: PLgrow , CPLgrow , CPLbuffer , CPLofPLgrow

Example Illustration

 missing image of CPLofPLgrowline(PL,s,edge,caps);

Syntax

CPL=CPLofPLgrowline(PL,s,[edge,caps]);

Input Parameter

PL: Open point list line
s: thickness
edge: true= rounded edges; false = simple; default false;
caps: true= rounded caps; false = straight; default is false;

Output Parameter

CPL: Closed Polygon line

Examples

PL=[-5 10; -5 0; +5 0; +5 -10], CPLofPLgrowline(PL,1,true)
PL=[-5 10; -5 0; +5 0; +5 -10], CPLofPLgrowline(PL,1,false)
PL=[0 -19;0 20;0 19; 0 0]
PL=[-5 10; -5 0; +5 0; +5 -10], CPLofPLgrowline(PL,1,true,true)




Copyright 2018-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