Fahr
Computer
- Sep 7, 2004
- 3
Hello people,
I'm struggling with the following; I built a DXF parser/drawer in C++ which works fine, except for the bulges (42) in LWPOLYLINEs. I tried to convert this bulge to an ARC, but I can't figure it out. All the samples online are in Lisp and I don't quite read Lisp...
Can someone please explain in normal mathematical terminology how to convert an LWPOLYLINE bulge into an ARC? I have the coordinates of the starting and ending point and the bulge value and I'd like to turn this into an ARC with a center point, radius, start angle and end angle.
Any help is most appreciated!
Thanks,
- Fahr
I'm struggling with the following; I built a DXF parser/drawer in C++ which works fine, except for the bulges (42) in LWPOLYLINEs. I tried to convert this bulge to an ARC, but I can't figure it out. All the samples online are in Lisp and I don't quite read Lisp...
Can someone please explain in normal mathematical terminology how to convert an LWPOLYLINE bulge into an ARC? I have the coordinates of the starting and ending point and the bulge value and I'd like to turn this into an ARC with a center point, radius, start angle and end angle.
Any help is most appreciated!
Thanks,
- Fahr