I have to generate the following figure according to user fed values. How do I go about drawing the arcs (B-C-F as in figure, circular in nature) given their start point & end point (B & F respectively) & the height from the segment BF? I can do some geometric calculations & get the radius & all, but how do I draw the arc?
I have tried using the Graphics.DrawCurve()
method, but it doesn't work as expected. How can I make this method work for circular arcs? Any other workaround is also welcome.
Got it! Thanks @Mitch & @Idle_Mind
Using the builtin
DrawArc
method ofGraphics
Suggestions/Improvements welcome.
Note - This isn't the actual function from my code.
From my comment:
Here's a proof of concept for the top curve thru B, C, and F.
I used the formulas provided by Donna Roberts at Investigative Circle Activity Using Three Points.
Here's a screenshot:
...and the code that produced it: