VLbreakEdges

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analyzing function
Introduced first in SolidGeometry 3.4, Creation date: 2017-02-13, Last change: 2025-09-14

returns a vertex list (VL) with broken edges

Description

Replaces edges by a simple shortcut. The desired radius can be reduced automatically if necessary. It is possible to maximize the radius automatically.
In case that R is negative; VLradialEdges is used instead

See Also: PLradialEdges , RLofEulerInterpolation , VLinsertEulerSteps , VLradialEdges , TofPez , PLtangentcirc , VLtangentcirc , SGbreakCorners , SGradialCorners

Example Illustration

 missing image of VLbreakEdges(VL,R)

Syntax

NVL=VLbreakEdges(VL,[R])

Input Parameter

VL: Vertex list nx3
R: Radius; default is 1

Output Parameter

NVL: New vertex list

Examples


VL=rounddiv(rand(6,3)*100,5)
VLbreakEdges(VL,2)
VLbreakEdges([0 0 0;0 0 100; 100 0 100;100 100 100]); view(0,0)
VLbreakEdges([0 0 0;0 0 100; 100 0 0],10); view(0,0)




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