- Joined
- Sep 8, 2007
- Messages
- 994
Hello there,
I'm having a little math issue over here which I can't solve,
so I hope some maths-lovers here could help me with it.
I need a formula that gives me the coordinates of a circle lying in a aslope plane, like this:
What I figured out so far is that a circle on a plane has this form:
X=M+ r·u·cos(t) + r·v·sin(t)
where M is the support vector,
u and v the vectors defining the plane which are orthogonal to each other,
r the radius.
I guess my problem is about finding the proper values vor the vectors u and v in order to make the plane aslope like that, because the values I'm trying don't deliver what I need.
I'm not even sure if the formula is correct for this matter...
To make this more coding related I added the map containing the calculation I got so far.
Right now I'm having a circle on a plane of two axis only, but I need to get the third axis involved somehow to make the plane aslope in order to make that dummy unit spin not only up-down and left-right, but also back-forth.
Would be grateful for your help!
I'm having a little math issue over here which I can't solve,
so I hope some maths-lovers here could help me with it.
I need a formula that gives me the coordinates of a circle lying in a aslope plane, like this:

What I figured out so far is that a circle on a plane has this form:
X=M+ r·u·cos(t) + r·v·sin(t)
where M is the support vector,
u and v the vectors defining the plane which are orthogonal to each other,
r the radius.
I guess my problem is about finding the proper values vor the vectors u and v in order to make the plane aslope like that, because the values I'm trying don't deliver what I need.
I'm not even sure if the formula is correct for this matter...
To make this more coding related I added the map containing the calculation I got so far.
Right now I'm having a circle on a plane of two axis only, but I need to get the third axis involved somehow to make the plane aslope in order to make that dummy unit spin not only up-down and left-right, but also back-forth.
Would be grateful for your help!