99 std::ostream&
printStd(std::ostream& os)
const;
100 std::ostream&
printRot(std::ostream& os)
const;
131 #ifdef FFA_INDEXCHECK
133 std::cerr <<
"FaMat34::operator[]: index i="<< i <<
" is out of range [0,3]"
136 return i == 3 ?
p :
r[i];
141 #ifdef FFA_INDEXCHECK
143 std::cerr <<
"FaMat34::operator[]: index i="<< i <<
" is out of range [0,3]"
146 return i == 3 ?
p :
r[i];
154 return j == 4 ?
p[i-1] :
r[j-1][i-1];
159 return j == 4 ?
p[i-1] :
r[j-1][i-1];
163 #define makeCS_X_YX makeCS_X_XY
Point vectors in 3D space.
Definition: FFaMat33.H:15
Definition: FFaMat34.H:16
friend FaMat34 operator+(const FaMat34 &a, const FaMat34 &b)
Definition: FFaMat34.C:343
FaMat34 & quatrTransform(const FaVec3 &offsetXYZ, const FaVec3 &anglesXYZ, const FaMat34 &fromMatrix)
Definition: FFaMat34.C:126
FaMat34 & makeCS_X_XY(const FaVec3 &origin, const FaVec3 &xpt, const FaVec3 &xypl)
Definition: FFaMat34.C:219
friend std::ostream & operator<<(std::ostream &s, const FaMat34 &m)
Definition: FFaMat34.C:383
friend bool operator!=(const FaMat34 &a, const FaMat34 &b)
Definition: FFaMat34.C:377
FaMat34 & operator+=(const FaMat34 &m)
Definition: FFaMat34.C:28
FaMat34()
Definition: FFaMat34.H:24
FaMat34(const double *mat)
Definition: FFaMat34.H:26
FaMat34(const FaVec3 &v0, const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3)
Definition: FFaMat34.H:28
friend FaMat34 operator-(const FaMat34 &a)
Definition: FFaMat34.C:337
static FaMat34 makeYrotation(double angle)
Definition: FFaMat34.C:208
FaMat34 & operator-=(const FaMat34 &m)
Definition: FFaMat34.C:42
const FaMat33 & direction() const
Definition: FFaMat34.H:53
FaMat34 & makeCS_Z_XZ(const FaVec3 &origin, const FaVec3 &zpt, const FaVec3 &xzpl)
Definition: FFaMat34.C:245
FaMat34 & makeGlobalizedCS(const FaVec3 &origin, const FaVec3 &p1)
Definition: FFaMat34.C:136
double getRotation(int i) const
Definition: FFaMat34.C:186
FaMat34 & operator/=(double d)
Definition: FFaMat34.C:64
friend FaMat34 operator*(const FaMat34 &a, const FaMat34 &b)
Definition: FFaMat34.C:354
static FaMat34 makeXrotation(double angle)
Definition: FFaMat34.C:213
static FaMat34 makeZrotation(double angle)
Definition: FFaMat34.C:203
bool readStd(std::istream &s)
Definition: FFaMat34.C:307
FaMat34 & makeCS_X_XZ(const FaVec3 &origin, const FaVec3 &xpt, const FaVec3 &xzpl)
Definition: FFaMat34.C:232
FaMat34 & operator=(const FaMat34 &m)
Definition: FFaMat34.H:35
FaMat34 & eulerTransform(const FaVec3 &offsetXYZ, const FaVec3 &anglesXYZ, const FaMat34 &fromMatrix)
Definition: FFaMat34.C:116
friend std::istream & operator>>(std::istream &s, FaMat34 &m)
Definition: FFaMat34.C:388
FaMat34 & eulerRotateZYX(const FaVec3 &anglesXYZ, const FaMat34 &fromMatrix)
Definition: FFaMat34.C:108
FaMat34(const FaVec3 &pos)
Definition: FFaMat34.H:27
FaMat33 r
Definition: FFaMat34.H:17
const FaVec3 & operator[](int i) const
Definition: FFaMat34.H:129
const FaVec3 & translation() const
Definition: FFaMat34.H:54
FaMat34 inverse() const
Definition: FFaMat34.C:78
FaMat34(const FaMat34 &m)
Definition: FFaMat34.H:31
FaMat34 & setIdentity()
Definition: FFaMat34.C:85
FaVec3 p
Definition: FFaMat34.H:18
std::ostream & printRot(std::ostream &os) const
Definition: FFaMat34.C:294
FaVec3 projectOnXY(const FaVec3 &x) const
Definition: FFaMat34.C:162
FaVec3 getEulerZYX() const
Definition: FFaMat34.C:169
friend bool operator==(const FaMat34 &a, const FaMat34 &b)
Definition: FFaMat34.C:372
FaMat34 & operator*=(double d)
Definition: FFaMat34.C:56
std::ostream & printStd(std::ostream &os) const
Definition: FFaMat34.C:271
const double & operator()(int i, int j) const
Definition: FFaMat34.H:152
bool isCoincident(const FaMat34 &m, double tolerance=1.0e-10) const
Definition: FFaMat34.C:93
FaMat34(const float *mat)
Definition: FFaMat34.H:25
FaMat34(const FaMat33 &m, const FaVec3 &v)
Definition: FFaMat34.H:30
bool readRot(std::istream &s)
Definition: FFaMat34.C:324
Class for point vectors in 3D space.
Definition: FFaVec3.H:40
real(sp), dimension(:,:,:), pointer b
Definition: diffractionModule.f90:22
real(sp), dimension(:,:,:), pointer a
Definition: diffractionModule.f90:21
integer(ptr), save, private x
Definition: extCtrlSysRoutinesModule.f90:16
real(dp), dimension(:,:), allocatable m
Definition: inverseModule.f90:38
real(dp), dimension(:), allocatable v0
Definition: inverseModule.f90:26
real(dp), dimension(:), allocatable v1
Definition: inverseModule.f90:27
real(dp), dimension(:), allocatable v2
Definition: inverseModule.f90:28