ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/primitives/StuntDouble.hpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/primitives/StuntDouble.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2018 by tim, Mon Feb 14 17:57:01 2005 UTC

# Line 814 | Line 814 | namespace oopse{
814           */
815          Vector3d lab2Body(const Vector3d& v) {
816              return getA() * v;
817 +        }
818 +
819 +        Vector3d lab2Body(const Vector3d& v, int frame) {
820 +            return getA(frame) * v;
821          }
822  
823          /**
# Line 824 | Line 828 | namespace oopse{
828          Vector3d body2Lab(const Vector3d& v){
829              return getA().transpose() * v;
830          }
831 +
832 +        Vector3d body2Lab(const Vector3d& v, int frame){
833 +            return getA(frame).transpose() * v;
834 +        }
835          /**
836           * <p>
837           * The purpose of the Visitor Pattern is to encapsulate an operation that you want to perform on

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines