CPLradialEdges
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-26, Last change: 2025-09-14
returns a vertex list (VL) with rounded edges (USE CPLisccwcorrected before!)
Description
ATTENTION: This function is based again on PLradialEdges NOT on VLradialEdges (Oct. 2023)
ATTENTION: This function is based on VLradialEdges not on PLradialEdges (2017)
Replaces edges by a radial curve. The desired radius can be reduced automatically if necessary. It is possible to maximize the radius automatically.
In case that R is negative; VLbreakEdges is used instead
See Also: PLradialEdges
, RLofEulerInterpolation
, VLinsertEulerSteps
, VLradialEdges
, TofPez
, PLtangentcirc
, VLtangentcirc
, SGbreakCorners
, SGradialCorners
Example Illustration
Syntax
CPLN=CPLradialEdges(CPL,[R,cvk,wmin,wmax,KL,mR])
Input Parameter
CPL: | | Vertex list nx3 |
R: | | Radius; default is none |
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;
|
mR: | | number of points; default is nofrd |
Output Parameter
CPLN: | | New closed Polygon list; All points are doubled |
Examples
CPLradialEdges(CPLsample(4),5);
CPLradialEdges(CPLsample(12),5);
CPLradialEdges(CPLsample(12),-4);
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