Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How to rotate a vector around a direction...

Subject: CGAL users discussion list

List archive

[cgal-discuss] How to rotate a vector around a direction...


Chronological Thread 
  • From: damian <>
  • To:
  • Subject: [cgal-discuss] How to rotate a vector around a direction...
  • Date: Thu, 27 Oct 2011 13:06:45 -0700 (PDT)

Hello,

I find the manual's description on Aff_transformation_2 quite unhelpful and
it is even sparser for Aff_transformation_3.
If I've got a direction Direction_3 object and want to rotate another
Vector_3-object around that Direction, how do I manage that?

I tried variations on creating an affine transformation like:

Aff_transformation_3 _omg(CGAL::Rotation, angle, omega, z);

with z being the Direction_3-object and omega the vector to be rotated. But
I didnt find a solution.

Can anyone help me with that. Thank you very much!

Yours,
Damian

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-rotate-a-vector-around-a-direction-tp3945873p3945873.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page