8 m_CurrentFrameChangeCount(0),
108 double alat = cell.
a();
109 double blat = cell.
b();
110 double clat = cell.
c();
111 double alpha = cell.
alpha();
112 double beta = cell.
beta();
113 double gamma = cell.
gamma();
121 zzz(0,1) = blat*cos(gamma);
122 zzz(1,1) = blat*sin(gamma);
125 zzz(0,2) = clat*cos(beta);
126 zzz(1,2) = clat*(cos(alpha) - cos(beta)*cos(gamma))/sin(gamma);
127 zzz(2,2) = sqrt(clat*clat - zzz(0,2)*zzz(0,2) - zzz(1,2)*zzz(1,2));
160 if (
m_Parms->get_ExtraFlip()) {
216 for (
int i=0; i<3; i++) {
232 for (
int i=0; i<3; i++) {
263 xyz = xyz.normalized();
268 double pdist = -dmin/cosang;
295 if (
m_Parms->get_ExtraFlip()) {
296 double x = detpix.
x();
297 double y = detpix.
y();
CctwDoubleMatrix3x3 gridBasis
static CctwMatrix3x3 rotZ(double r)
CctwDoubleVector3D gridOrigin
static CctwMatrix3x3 rotX(double r)
static CctwMatrix3x3 rotY(double r)
CctwDoubleVector3D gridOffset
double twoThetaAngle(double frame)
CctwDoubleMatrix3x3 ubMat
double orientErrorDetRoll
CctwDoubleVector3D gridDim
double orientErrorGonPitch
CctwMatrix3x3 transposed() const
double chiAngle(double frame)
double omegaAngle(double frame)
double phiAngle(double frame)
double orientErrorDetPitch
static double dotProduct(const CctwVector3D< double > &v1, const CctwVector3D< double > &v2)
CctwVector3D< T > normalized() const
CctwMatrix3x3 inverted(bool *invertible=NULL) const
CctwDoubleVector3D xTrans
static CctwMatrix3x3 identity()
CctwVector3D< double > CctwDoubleVector3D