home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / graphics / 8007 < prev    next >
Encoding:
Text File  |  1992-07-21  |  2.3 KB  |  55 lines

  1. Newsgroups: comp.graphics
  2. 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
  3. From: stare@edstar.rl.af.mil (Edward M. Starczewski)
  4. Subject: Re: Angle between two coordinate locations
  5. Message-ID: <stare.18.0@edstar.rl.af.mil>
  6. Sender: usenet@lonex.rl.af.mil (USENET Account)
  7. Nntp-Posting-Host: edstar.rl.af.mil
  8. Organization: Rome Laboratory
  9. References: <l6faduINN8f0@girtab.usc.edu>
  10. Date: Tue, 21 Jul 92 17:25:50 GMT
  11. Lines: 42
  12.  
  13. In article <l6faduINN8f0@girtab.usc.edu> joseph@girtab.usc.edu (Randi Joseph) writes:
  14. >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
  15. >From: joseph@girtab.usc.edu (Randi Joseph)
  16. >Newsgroups: comp.graphics
  17. >Subject: Angle between two coordinate locations
  18. >Date: 17 Jul 1992 22:18:54 -0700
  19. >Organization: University of Southern California, Los Angeles, CA
  20. >Lines: 24
  21. >Message-ID: <l6faduINN8f0@girtab.usc.edu>
  22. >NNTP-Posting-Host: girtab.usc.edu
  23.  
  24. >I have a problem where I need to obtain the angle between two points
  25. >on the screen.  For instance:
  26.  
  27. >        +------------------------------------------+
  28. >        |   * <-point 1                            |
  29. >        |                                          |
  30. >        |                                          |
  31. >        |                                          |
  32. >        |                                          |
  33. >        |                                          |
  34. >        |                                          |
  35. >        |                   * <-point 2            |
  36. >        |                                          |
  37. >        +------------------------------------------+
  38.  
  39. >I would expect the function to return the angle as being 135 degrees
  40. >( or should if my picture was accurate )  Any help would be greatly
  41. >appreciated.  Thanks
  42.  
  43.  
  44.  
  45. >                                        Randi Joseph
  46. >                                        joseph@girtab.usc.edu
  47.  
  48. I'm a little confused, How do you define an angle between two points without
  49. first defining the location of the vertex.  Is the vertex just assumed to be
  50. the origin (0,0)?
  51. Edward M.Starczewski       email: stare@lonex.rl.af.mil
  52. Rome Laboratory
  53. :-) These are the opinions of my evil twin, skippy (-:
  54.  
  55.