toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Toon-members] SO3 and rotoinversions?


From: Gerhard Reitmayr
Subject: Re: [Toon-members] SO3 and rotoinversions?
Date: Mon, 1 Feb 2010 18:34:07 +0100

Hi Alex,

Thanks for the hint, that is a good point. SO3 does not handle rotoinversions, 
so I put in a check in coerce.

cheers,
  Gerhard

On 1 Feb 2010, at 12:23, Alex Flint wrote:

> Hi there,
> 
> Does the SO3 group include rotoinversions? If so, TooN::SO3 isn't handling 
> them properly:
> 
>   Matrix<3> m = Identity;
>   m[0][0] = -1;
>   SO3<> r(m);
>   cout << r << endl << SO3<>::exp(r.ln()) << endl;
> 
> results in:
>   -1 0 0
>   0 1 0
>   0 0 1
> 
>   nan nan nan
>   nan nan nan
>   nan nan nan
> 
> If SO3 is not meant to handle this case then perhaps SO3::coerce() should 
> force the matrix to have determinant 1, or output a warning/error?
> 
> Cheers,
> Alex
> 
> _______________________________________________
> Toon-members mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/toon-members

--
Gerhard Reitmayr
Institute for Computer Graphics and Vision
http://www.icg.tugraz.at/Members/gerhard
tel: ++43 316 873 5082







reply via email to

[Prev in Thread] Current Thread [Next in Thread]