Re: [eigen] geometry module... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] geometry module...
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Fri, 19 Mar 2010 20:01:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rA3a2S+0nv6itdr92yd/lmPse66nJH2UzyBCNIo8tLU=; b=e3qJ6FNnxSy4B0oZlVd6mGO+dVR0XmgOd8KJZJgBig7hFIpWeaHld67eOEh1ZMMlKs +R1bLbe/11x9PrFSChnMmfZoiI9mpk+bT8LkDw7vG1hA0oPAS53Ox92lbzRJzCwEjoOa DNe9DLipQmlwwwX9EWW8vqsTS86fC5WQCKS7g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KZvoKQNo0QBry8iUsmBrMCYQCFH9dSB9KQ3lEzS/lTlw4k4noKzW84n4Ozp2c6c4nw UgsF0DIcvypLeMPsB5K2Hu/XIiafzZ0vD8XZPi3TNgVMi+bxshQIVy2eRNjqiloeSDZB tDdCs0dZgSX5X1jlqK/BhvILx7XdFikoxyPvQ=
On Fri, Mar 19, 2010 at 7:44 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> - make UniformScale * Translation return a Translation
>
> I don't understand that. UniformScale * Translation should return the
> composite transformation, that consists in first translating and then
> scaling. This is not a translation!
Well, maybe the bigger problem is that we do not yet have expressions
in the transformation chain. A translation is not even a
transformation but it behaves as such since
Vector = Translation * Vector
is a valid operation - i.e. translations behaves like a transformation
matrices. And given
Vector = Scaling * Translation * Vector
which can be written as
Vector = (Scaling * Translation) * Vector = OtherTranslation * Vector
I considered returning a translation - in particular since
Translation * Vector
is way more efficient than
ProjectiveTransformation * Vector.
Maybe now I managed to maximize confusion but I agree that such a
trivial fix is not really a fix and thus I will leave it alone for the
moment.
- Hauke