toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN se3.h


From: Edward Rosten
Subject: [Toon-members] TooN se3.h
Date: Wed, 13 May 2009 14:28:39 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        09/05/13 14:28:39

Modified files:
        .              : se3.h 

Log message:
        Construct an SE3 from an Idendity object.
        
        Can now do:
        
        SE3<> E(Identity, some_translation);

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/se3.h?cvsroot=toon&r1=1.25&r2=1.26

Patches:
Index: se3.h
===================================================================
RCS file: /cvsroot/toon/TooN/se3.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- se3.h       13 May 2009 14:22:35 -0000      1.25
+++ se3.h       13 May 2009 14:28:38 -0000      1.26
@@ -58,7 +58,7 @@
        SE3(const Vector<S, P, A> & v) { *this = exp(v); }
 
        template <class IP, int S, typename P, typename A> 
-       SE3(const SO3<Precision> & R, const Vector<S, P, A>& T) : 
my_rotation(Identity), my_translation(T) {}
+       SE3(const Operator<Internal::Identity<IP> >&, const Vector<S, P, A>& T) 
: my_translation(T) {}
 
        /// Returns the rotation part of the transformation as a SO3
        inline SO3<Precision>& get_rotation(){return my_rotation;}




reply via email to

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