www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/02/00:19:39

To: djgpp AT delorie DOT com
Subject: Re: ellipses at an angle
Message-ID: <19970201.211349.4943.1.chambersb@juno.com>
References: <5d098v$b00 AT nr1 DOT ottawa DOT istar DOT net>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Sun, 02 Feb 1997 00:11:58 EST

On 1 Feb 1997 20:32:31 GMT hotpulp AT netidea DOT com writes:
>I was wondering: how would I go about drawing an ellipse that has its
>major and minor axis at an angle? If you're having trouble 
>visuallizing
>that: picture an ellipse leaning against a wall, what algorithm would 
>I
>use to draw that?
>
>Shawn Betts
>
Well, you could use the original definition of an ellipse (that is, from
any point on the ellipse, the sum of the distances from that point to the
two foci equals 1).  The math gets a little messy though.

...Chambers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019