All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
MatCross_Manip Class Reference

#include <matvec3.h>

Inheritance diagram for MatCross_Manip:
Collaboration diagram for MatCross_Manip:

Public Member Functions

 MatCross_Manip ()
void Manipulate (Mat3x3 &m, const Vec3 &v) const
- Public Member Functions inherited from Mat3x3_Manip
virtual void Manipulate (Mat3x3 &m) const
virtual void Manipulate (Mat3x3 &m, const doublereal d) const
virtual void Manipulate (Mat3x3 &m, const Vec3 &v1, const Vec3 &v2) const
virtual ~Mat3x3_Manip (void)

Detailed Description

Definition at line 1498 of file matvec3.h.

Constructor & Destructor Documentation

MatCross_Manip::MatCross_Manip ( )

Definition at line 1500 of file matvec3.h.

1500 {};

Member Function Documentation

void MatCross_Manip::Manipulate ( Mat3x3 m,
const Vec3 v 
) const

Reimplemented from Mat3x3_Manip.

Definition at line 1501 of file matvec3.h.

References M11, M12, M13, M21, M22, M23, M31, M32, M33, Mat3x3::pGetMat(), Vec3::pGetVec(), V1, V2, and V3.

1501  {
1502  doublereal *pdm = m.pGetMat();
1503  const doublereal *pdv = v.pGetVec();
1505  pdm[M11] = 0.;
1506  pdm[M12] = -pdv[V3];
1507  pdm[M13] = pdv[V2];
1508  pdm[M21] = pdv[V3];
1509  pdm[M22] = 0.;
1510  pdm[M23] = -pdv[V1];
1511  pdm[M31] = -pdv[V2];
1512  pdm[M32] = pdv[V1];
1513  pdm[M33] = 0.;
1514  };
Definition: matvec3.h:59
Definition: matvec3.h:50
Definition: matvec3.h:58
Definition: matvec3.h:51
Definition: matvec3.h:55
Definition: matvec3.h:56
Definition: matvec3.h:63
Definition: matvec3.h:62
Definition: matvec3.h:61
Definition: matvec3.h:57
const doublereal * pGetMat(void) const
Definition: matvec3.h:743
Definition: matvec3.h:49
const doublereal * pGetVec(void) const
Definition: matvec3.h:192
Definition: matvec3.h:60
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

The documentation for this class was generated from the following file: