home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!lonex.rl.af.mil!EDSTAR.RL.AF.MIL!stare
- From: stare@edstar.rl.af.mil (Edward M. Starczewski)
- Subject: Re: Angle between two coordinate locations
- Message-ID: <stare.18.0@edstar.rl.af.mil>
- Sender: usenet@lonex.rl.af.mil (USENET Account)
- Nntp-Posting-Host: edstar.rl.af.mil
- Organization: Rome Laboratory
- References: <l6faduINN8f0@girtab.usc.edu>
- Date: Tue, 21 Jul 92 17:25:50 GMT
- Lines: 42
-
- In article <l6faduINN8f0@girtab.usc.edu> joseph@girtab.usc.edu (Randi Joseph) writes:
- >Path: lonex.rl.af.mil!blackbird.afit.af.mil!udecc.engr.udayton.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!chaph.usc.edu!news
- >From: joseph@girtab.usc.edu (Randi Joseph)
- >Newsgroups: comp.graphics
- >Subject: Angle between two coordinate locations
- >Date: 17 Jul 1992 22:18:54 -0700
- >Organization: University of Southern California, Los Angeles, CA
- >Lines: 24
- >Message-ID: <l6faduINN8f0@girtab.usc.edu>
- >NNTP-Posting-Host: girtab.usc.edu
-
- >I have a problem where I need to obtain the angle between two points
- >on the screen. For instance:
-
- > +------------------------------------------+
- > | * <-point 1 |
- > | |
- > | |
- > | |
- > | |
- > | |
- > | |
- > | * <-point 2 |
- > | |
- > +------------------------------------------+
-
- >I would expect the function to return the angle as being 135 degrees
- >( or should if my picture was accurate ) Any help would be greatly
- >appreciated. Thanks
-
-
-
- > Randi Joseph
- > joseph@girtab.usc.edu
-
- I'm a little confused, How do you define an angle between two points without
- first defining the location of the vertex. Is the vertex just assumed to be
- the origin (0,0)?
- Edward M.Starczewski email: stare@lonex.rl.af.mil
- Rome Laboratory
- :-) These are the opinions of my evil twin, skippy (-:
-
-