PLradialEdges

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 2.1, Creation date: 2015-01-02, Last change: 2025-09-14

returns a point list (PL) with rounded edges

Description

PLradialEdges IS INDEPENDENT AND NOT USING PLtangentcirc!

Replaces all/convex/concave edges with an angle in a defined intervall [0,180] by a radial curve. The number of curve points can be specified too (default is nofrd). The functions accepts a single CPL (without NaN) or PL and returns always a PL!

See Also: VLradialEdges , VLtangentcirc , PLtangentcirc , VLradialEdges2T

Example Illustration

 missing image of PLradialEdges(PL,R,cvk,wmin,wmax,KL,m)

Syntax

NPL=PLradialEdges(PL,[R,cvk,wmin,wmax,KL,m])

Input Parameter

PL: Point list nx2
R: Radius; default is 1
cvk: 0==all; -1=concave, +1=convex
wmin: minimal abs angle to handle; default is 0
wmax: maximum abs angle to handle; default is pi
KL: nr of sections of a line; 2 are required for radius at 90degree
m: number of points; default is nofrd

Output Parameter

NPL: New point list

Examples

VLFLfigure;
C=CPLsample(1);
CPLplot(C,'m'); CPLplot(PLradialEdges(C,1));
PLradialEdges(PLstar(50,10),5);
PLradialEdges(CPLofPL(PLstar(50,10)),5);




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