Click here to Skip to main content
15,891,033 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Linear line Pin
Habib Ahmed Bhutto30-Jul-07 13:32
Habib Ahmed Bhutto30-Jul-07 13:32 
GeneralRe: Linear line Pin
Dan Neely31-Jul-07 2:09
Dan Neely31-Jul-07 2:09 
AnswerRe: Linear line Pin
Russell'3-Aug-07 4:19
Russell'3-Aug-07 4:19 
GeneralRe: Linear line Pin
Russell'3-Aug-07 4:20
Russell'3-Aug-07 4:20 
AnswerRe: Linear line Pin
stevepqr7-Aug-07 6:02
stevepqr7-Aug-07 6:02 
Questionimages Pin
zainab ibrahim24-Jul-07 22:47
zainab ibrahim24-Jul-07 22:47 
AnswerRe: images Pin
shiraztk26-Jul-07 9:24
shiraztk26-Jul-07 9:24 
QuestionFinding a point on a circle [modified] Pin
max2929720-Jul-07 12:36
max2929720-Jul-07 12:36 
This one has me frustrated... What I need is a function that will give me the x and y coordinates of a point on a circle (defined by it's x and y coordinates and its width and height) when given a number in degrees. For example...

public Point GetPointOnCircle(int circleX, int circleY, int circleWidth, int circleHeight, int degrees) {
	return new Point(x, y);
}


I've tried to figure it out on my own but it's proven to be a bit more complicated than I thought it would be. Could anyone help me out?

P.S. I'm using C#

-----
*** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***

AnswerRe: Finding a point on a circle [modified] Pin
Luc Pattyn20-Jul-07 16:23
sitebuilderLuc Pattyn20-Jul-07 16:23 
GeneralRe: Finding a point on a circle Pin
max2929720-Jul-07 20:09
max2929720-Jul-07 20:09 
GeneralRe: Finding a point on a circle Pin
Luc Pattyn21-Jul-07 0:49
sitebuilderLuc Pattyn21-Jul-07 0:49 
GeneralRe: Finding a point on a circle Pin
Paul Conrad21-Jul-07 5:24
professionalPaul Conrad21-Jul-07 5:24 
GeneralRe: Finding a point on a circle Pin
Luc Pattyn21-Jul-07 6:06
sitebuilderLuc Pattyn21-Jul-07 6:06 
GeneralRe: Finding a point on a circle Pin
Paul Conrad21-Jul-07 6:11
professionalPaul Conrad21-Jul-07 6:11 
GeneralRe: Finding a point on a circle Pin
max2929721-Jul-07 16:31
max2929721-Jul-07 16:31 
GeneralRe: Finding a point on a circle Pin
Paul Conrad21-Jul-07 16:53
professionalPaul Conrad21-Jul-07 16:53 
GeneralRe: Finding a point on a circle Pin
max2929721-Jul-07 17:52
max2929721-Jul-07 17:52 
GeneralRe: Finding a point on a circle Pin
Paul Conrad21-Jul-07 18:01
professionalPaul Conrad21-Jul-07 18:01 
QuestionRe: Finding a point on a circle Pin
David Crow26-Jul-07 10:53
David Crow26-Jul-07 10:53 
QuestionColor Ranges Pin
Malcolm Smart20-Jul-07 5:29
Malcolm Smart20-Jul-07 5:29 
AnswerRe: Color Ranges Pin
Luc Pattyn20-Jul-07 5:45
sitebuilderLuc Pattyn20-Jul-07 5:45 
GeneralRe: Color Ranges Pin
Malcolm Smart20-Jul-07 10:37
Malcolm Smart20-Jul-07 10:37 
GeneralRe: Color Ranges Pin
Paul Conrad20-Jul-07 10:40
professionalPaul Conrad20-Jul-07 10:40 
GeneralRe: Color Ranges Pin
Malcolm Smart20-Jul-07 11:22
Malcolm Smart20-Jul-07 11:22 
GeneralRe: Color Ranges Pin
Paul Conrad20-Jul-07 11:27
professionalPaul Conrad20-Jul-07 11:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.