|
-
Dec 31st, 2003, 12:17 AM
#1
Thread Starter
Hyperactive Member
how do u find the angle of these points?
Hello everyone, I was reading next semesters programming book and I can't even figure out how to do this problem on paper, so It doesn't look like i'll be programming it anytime soon. Here's my question, They say, design and implement a class called circle_location to keep track of the postion of a single point that travels around a circle. An object of this clas records the position of the point as an angle, measured in a clockwise direction from the top of the circle. Programming this isn't my problem, but I'm confused on how i'm suppose to figure out the angle of the point. So say I have a point at (0,0) and (3,3) this would make a line then I could draw a vertical line down to make a right angle, but how would I find the angle of that? with just given 2 points? Or am i misunderstanding what they really want me to do?
Thanks!
C¤ry Sanchez
Computer Science/Engineering
@ Penn State
IBM.zSeries Intern
Mandriva 2007
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|