Results 1 to 40 of 42

Thread: [RESOLVED] Plot ellipse through apex and two other points

Threaded View

  1. #11

    Thread Starter
    PowerPoster boops boops's Avatar
    Join Date
    Nov 2008
    Location
    Holland/France
    Posts
    3,201

    Re: Plot ellipse through apex and two other points

    Reversing the atan2 arguments didn't change anything obvious. I won't be able to debug this without help, so I'd appreciate assistance. I've attached all the code: 1 file VB.Net + 2 files C# in a zip. You only have to start a Forms project and drop your preferred version into the form code. For C#, build the 2 files. Then run. This version draws the ellipse and its bounding rectangle (when visible) as well as the ellipse centre. Just drag the red points around, an ellipse will flit by sooner or later!

    @Logophobic: Once this is sorted out it shouldn't be too hard to make a version with 2F+P. I suspect it will in fact be easier.

    EllipseThroughThreePoints.zip

    BB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width