2020-06-29 18:18:44 -0600 | received badge | ● Popular Question (source) |
2017-08-31 09:38:08 -0600 | marked best answer | Drawing an arc Hi guys, I have arc parameters from Autocad file and I need to draw it using opencv. However, using corresponding parameters in cv::ellipse function the arc is absolutely not the same as in Autocad. Here is my code: The picture should be like but in fact I've got Here is parameters for every arc: How can I draw correct arcs? I've got start and end points of the arc, radius, and center points (arc center and center from where radius goes) |
2017-08-31 09:38:08 -0600 | received badge | ● Scholar (source) |
2017-08-31 06:54:22 -0600 | commented answer | Drawing an arc flipping change the position of the other points. But actually, it is not so importatnt for me.I still don't understand |
2017-08-31 06:50:05 -0600 | received badge | ● Supporter (source) |
2017-08-31 06:49:10 -0600 | received badge | ● Student (source) |
2017-08-31 05:03:06 -0600 | commented answer | Drawing an arc I've added additional check: end_angle = end_angle == 0.0 ? 360.0 : end_angle; and it solved the problem with red arc an |
2017-08-31 04:47:11 -0600 | commented answer | Drawing an arc You've got end_angle and start angle. So you can calc full_angle. That waht I do. But looks like when use 0, it looks al |
2017-08-31 04:40:12 -0600 | commented answer | Drawing an arc Why do you use angle with 0.0 value but not full angle (end angle - start angle)? This is the difference in my code |
2017-08-31 03:50:34 -0600 | commented question | Drawing an arc Degrees. I can't provide full code because it uses 3rd partylibraries to work with autocad file. So you won't be able to |
2017-08-31 02:35:42 -0600 | commented question | Drawing an arc I updated my post with required info. Looks like the problem might be somewhere in that, that autocad coordinates start |
2017-08-31 02:35:24 -0600 | commented question | Drawing an arc I updated my post with required info. Looks like the problem might be somewhere in that, that autocad coordinates start |
2017-08-31 00:47:32 -0600 | commented question | Drawing an arc I updated my post with required info |
2017-08-31 00:47:13 -0600 | received badge | ● Editor (source) |
2017-08-31 00:47:13 -0600 | edited question | Drawing an arc Drawing an arc Hi guys, I have arc parameters from Autocad file and I need to draw it using opencv. However, using corre |
2017-08-30 17:09:54 -0600 | asked a question | Drawing an arc Drawing an arc Hi guys, I have arc parameters from Autocad file and I need to draw it using opencv. However, using corre |