Re: [eigen] Re: Rigid transformations in eigen: use of dual quaternions |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Re: Rigid transformations in eigen: use of dual quaternions
- From: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Sat, 12 Sep 2009 20:50:47 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rZtIiev1ze9Eo1QvrsfDmtrasJxuasiPFaSbK3d/uRY=; b=QkJHqHsHVL+iXD1Dnx0Zdb0Upwg44oeKJknQ1a7SsboStENd0W+raXp6f0cwwPStNj RfQt6AmQXD9x1giv0eu1oNv2CIhrNSgsP5/ia280Pec+cZSzjvtavb9HaQCchsYGQICn 67fzAl5qf6DeFE70IYlwyzuogyMQvePz1Ni64=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=quJ16YctB9OJtDsd5jSu74SJktjDoSyIOdJA8mCuuUo6pCz3/BxdOBq66AsTnZRvZL m0p+eYkRz5XlX/cRbiD6FifHd49TmMQ0RM9btkVny6fHDosona5L23f3h4IYK6vbjtUD wCdx1dGbG5/xq/o8QWQHhwyc8UR8u3POKoavM=
On Sat, Sep 12, 2009 at 8:39 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> oops, i meant
>
> Quaternionf result( s1 * q1.coeffs() + s2 * q2.coeffs() );
>
> (otherwise i'm afraid of a redundant copy, i don't know well enough
> the c++ rules here)
There is a coeffs function available in Quaternion class. For now, I
can simply use that. But yeah, it'd be better to have it as part of
eigen.
Gael, since apparently you wrote most of the geometry module, what are
your thoughts on the whole issue?
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay