JamesBremner / DXF_Viewer

A simple DXF File viewer
MIT License
22 stars 4 forks source link

different interpretation of the start and end angle? #21

Closed xubury closed 4 years ago

xubury commented 4 years ago

I did a hand calculation on your last comment on https://github.com/JamesBremner/DXF_Viewer/pull/17. I didn't see anything wrong with the x1 x2 y1 y2 output, but I can't understand the quadrant you described. I follow your interpretation on https://github.com/JamesBremner/DXF_Viewer/blob/master/src/Arc.h#L10-L17. With sa 5 and ea 85, isn't it at top right quadrant like the first screenshot? With sa 375 and ea 355, doesn't the arc cover the every quadrant like the second screenshot? QQ截图20200312215353 QQ截图20200312215403

JamesBremner commented 4 years ago

You are correct!