Can anyone explain me how to find a point on circumference. The data i have is radius and the coordinates of circle center. I tried to get it by using (x-a)^2+(y-b)^2= r^2 formula but i get stuck. I'm not asking for solution but for explanation.
DalekThay
0
Newbie Poster
Recommended Answers
Jump to PostCould you post your code so we can see how you implemented your formula
Jump to PostCan anyone explain me how to find a point on circumference. The data i have is radius and the coordinates of circle center. I tried to get it by using (x-a)^2+(y-b)^2= r^2 formula but i get stuck. I'm not asking for solution but for explanation.
Getting "stuck" tells us nothing. …
Jump to PostEach point on the circumference is defined by
( cos(x) , sin(x) ) 0<= x <= 2*pi
All other circle are a variation of that. Since your circle is of radius r, every point on the circumference of you circle can be represented by the above equation with just a …
All 11 Replies
zeroliken
79
Nearly a Posting Virtuoso
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
mrnutty
761
Senior Poster
DalekThay
0
Newbie Poster
adityatandon
23
Junior Poster in Training
Ezzaral
commented:
Don't clutter threas with useless comments like this.
-4
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
adityatandon
23
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
frogboy77
73
Posting Pro in Training
adityatandon
23
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.