[SciPy-user] RV: Read a memory position?

Leticia le_fdez at yahoo.es
Sun Nov 5 07:12:37 CST 2006


Thanks, now it works perfectly!

** Leticia


-----Mensaje original-----
De: scipy-user-bounces at scipy.org [mailto:scipy-user-bounces at scipy.org] En
nombre de Marek Wojciechowski
Enviado el: domingo, 05 de noviembre de 2006 9:23
Para: SciPy Users List
Asunto: Re: [SciPy-user] RV: Read a memory position?

On Sat, 04 Nov 2006 20:20:01 -0000, Leticia <le_fdez at yahoo.es> wrote:

>
> Hello!
>
>
> I'm using  the Quaternion class  to get the rotation angles of a vector.
>
>
>
> The asRotation() method must return the rotation matrix from a quaternion
> but instead of that,
>
>
> it is returning:
>
>
> <Scientific.Geometry.Transformation.Rotation instance at 0x01BC1580>
>
>
> I don't know how to read this and I need to get my matrix from there..
>

Hi,

Say, R is your returned Rotation object then
A = R.tensor.array
is your transformation matrix.

Greetings
-- 
Marek Wojciechowski
_______________________________________________
SciPy-user mailing list
SciPy-user at scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


More information about the SciPy-user mailing list