Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Draw Start line on Circle diameter
- public Point CirclePoint(float radius, float angleInDegrees, Point origin)
- {
- var x = (float)(radius * Math.Cos(angleInDegrees * Math.PI / 180F)) + origin.X;
- var y = (float)(radius * Math.Sin(angleInDegrees * Math.PI / 180F)) + origin.Y;
- return new Point(x, y);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement