VLradialEdges

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analyzing function
Introduced first in SolidGeometry 3.1, Creation date: 2016-12-03, Last change: 2025-09-14

returns a vertex list (VL) with rounded edges

Description

VLradialEdges uses VLtangentcirc uses PLtangentcirc
A warning will occure if RminReplaces 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: VLradialEdges2T , PLradialEdges , RLofEulerInterpolation , VLinsertEulerSteps , TofPez , PLtangentcirc , VLtangentcirc , SGbreakCorners , SGradialCorners

Example Illustration

 missing image of VLradialEdges(VL,R,ty)

Syntax

[NVL,Rmin]=VLradialEdges(VL,[R,ty])

Input Parameter

VL: Vertex list nx3
R: Radius; default is 10
ty: 'rad', 'rmax', 'tan'

Output Parameter

NVL: New vertex list
Rmin: Maximum Radius that was possible for the edges;

Examples


VL=rounddiv(rand(6,3)*100,5)
VLradialEdges(VL,2)
VLradialEdges([0 0 0;0 0 100; 100 0 100;100 100 100]); view(0,0)
VLradialEdges([0 0 0;0 0 100; 100 0 0],10); view(0,0)
VLradialEdges(VLsample(23),1,'rmax'); view(0,0)
VLradialEdges(VLsample(24),1,'rmax'); view(0,0)




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