Lines Matching refs:V3d
112 V3d Acenter (0.0);
113 V3d Bcenter (0.0);
120 Acenter += (V3d) A[i];
121 Bcenter += (V3d) B[i];
132 Acenter += w * (V3d) A[i];
133 Bcenter += w * (V3d) B[i];
156 C += outerProduct ((V3d) B[i] - Bcenter, (V3d) A[i] - Acenter);
163 C += outerProduct (w * ((V3d) B[i] - Bcenter), (V3d) A[i] - Acenter);
168 V3d S;
201 traceATA += ((V3d) A[i] - Acenter).length2();
206 traceATA += ((double) weights[i]) * ((V3d) A[i] - Acenter).length2();
236 const V3d translate = Bcenter - s*Acenter*Qt;
252 template M44d procrustesRotationAndTranslation (const V3d* from, const V3d* to, const size_t numPoints, const bool doScale);
254 template M44d procrustesRotationAndTranslation (const V3d* from, const V3d* to, const double* weights, const size_t numPoints, const bool doScale);