PLgrow
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 3.0, Creation date: 2016-06-21, Last change: 2025-09-14
grows a contour line in a distance to an open or closed PL
Description
This function handles point lists which is more complex than the handling of CPL since the starting point and end point have to be considered in 4 different cases.
See Also: PLoutercontour
, CPLoutercontour
, CPLgrow
, PLgrowline
Example Illustration
Syntax
[RPL,ENL,PNL,PDL]=PLgrow(PL,w,[edge])
Input Parameter
PL: | | Polygon line |
w: | | distance for growing |
edge: | | true call CPLgrowEdge; default is false; |
Output Parameter
RPL: | | Recalculated CPL |
ENL: | | Edge normal vector list |
PNL: | | Point normal vector lit |
PDL: | | Point direction vector list |
Examples
PLgrow(PLcircle(4),-1);
PLgrow(PLstar(4,20),-1);
PLgrow(PLstar(10,12),-3,true);
Copyright 2016-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