Mobile app version of vmapp.org
Login or Join
Barnes313

: Rounding a corner formed by Arc and Line Given shapes like these, which contain just Arcs and lines, I want to round all its corners with a certain radius. I know the vertices of the lines

@Barnes313

Posted in: #Corners

Given shapes like these, which contain just Arcs and lines, I want to round all its corners with a certain radius. I know the vertices of the lines & arcs these shapes.



I can round the corners of a polygon (when two lines meet to form a corner), but can't figure out how to round a corner formed by an Arc and a Line

I used this post to round the corners of polygon - stackoverflow.com/questions/24771828/algorithm-for-creating-rounded-corners-in-a-polygon
Could you please share a code snippet, or just explain/list the math/algorithm for achieving this? Thanks!

PS: I'm developing a CAD drawing generator using C# & .netDxf library

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Barnes313

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme