Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Cartesian co-ordinate rotation around an Axis

by dHarry (Abbot)
on Aug 09, 2011 at 09:14 UTC ( #919431=note: print w/replies, xml ) Need Help??


in reply to Re^2: Cartesian co-ordinate rotation around an Axis
in thread Cartesian co-ordinate rotation around an Axis

I have difficulty understanding your initial post as well as your clarifying post. If you want to rotate you typically need a Rotation matrix R. You represent the point you want to rotate by a vector v and perform the multiplication R.v. This is fairly straightforward. CPAN is your friend: Math::VectorReal contains an example of rotating a vector with a rotation matrix.

HTH

Harry

  • Comment on Re^3: Cartesian co-ordinate rotation around an Axis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://919431]
help
Chatterbox?
[1nickt]: Can this be? So print
[1nickt]: ... "expects an integer" ?
[Lady_Aleena]: Maybe...
[talexb]: Sounds like a Try It And See question to me ..
[1nickt]: heh, I hab\ve been. Trying to understand it.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-05-24 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?