Reputation: 9
SQL Server has a spatial type "circularstring" that is collection of odd points. How can I draw this type in c#. Drawarc works based on angles while in circularstring we have just points. Drawcurve works based on the points but the result is not the same as circularstring. With three points, circularstring is an arc of the circle pass through that points while curve is not.
Upvotes: -2
Views: 500
Reputation: 54453
The basic solution could look like this:
To create the arc:
Now you can draw the arc.
The short yellow lines connect the points; the long ones stand perpendicular on them.
Upvotes: 2