Lines Matching refs:matrix

50   VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());  in non_projective_only()
69 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>())); in non_projective_only()
72 VERIFY_IS_APPROX(t1.matrix(), t0.matrix()); in non_projective_only()
178 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity()); in transformations()
179 t0.matrix().setZero(); in transformations()
181 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity()); in transformations()
193 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>())); in transformations()
196 VERIFY_IS_APPROX(t1.matrix(), t0.matrix()); in transformations()
200 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
203 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
205 VERIFY_IS_APPROX(t0.scale(a).matrix(), t1.scale(Vector3::Constant(a)).matrix()); in transformations()
206 VERIFY_IS_APPROX(t0.prescale(a).matrix(), t1.prescale(Vector3::Constant(a)).matrix()); in transformations()
215 tmat4.matrix()(3,3) = Scalar(1); in transformations()
216 VERIFY_IS_APPROX(tmat3.matrix(), tmat4.matrix()); in transformations()
224 VERIFY_IS_APPROX(t3.matrix(), t4.matrix()); in transformations()
226 VERIFY_IS_APPROX(t4.matrix(), MatrixType::Identity()); in transformations()
228 VERIFY_IS_APPROX(t3.matrix(), t4.matrix()); in transformations()
237 VERIFY_IS_APPROX(t5.matrix(), t4.matrix()); in transformations()
239 VERIFY_IS_APPROX(t4.matrix(), MatrixType::Identity()); in transformations()
241 VERIFY_IS_APPROX(t5.matrix(), t4.matrix()); in transformations()
246 VERIFY_IS_APPROX(t6.matrix(), t4.matrix()); in transformations()
248 VERIFY_IS_APPROX(t4.matrix(), MatrixType::Identity()); in transformations()
250 VERIFY_IS_APPROX(t6.matrix(), t4.matrix()); in transformations()
253 VERIFY_IS_APPROX((t3.matrix()*t4).matrix(), (t3*t4).matrix()); in transformations()
256 VERIFY_IS_APPROX(((t3*t4)*t5).matrix(), (t3*(t4*t5)).matrix()); in transformations()
271 VERIFY_IS_APPROX(t20.fromPositionOrientationScale(v20,a,v21).matrix(), in transformations()
272 t21.pretranslate(v20).scale(v21).matrix()); in transformations()
277 …* (t21.prescale(v21.cwiseInverse()).translate(-v20))).matrix().isIdentity(test_precision<Scalar>()… in transformations()
285 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
287 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
289 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
292 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
298 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
301 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
306 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
309 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
314 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
317 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
323 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
326 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
332 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
336 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
339 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
343 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
347 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
352 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
357 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
362 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
367 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
372 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
377 VERIFY_IS_APPROX(t0.matrix(), t1.matrix()); in transformations()
387 t044.block(0,0,t0.matrix().rows(),4) = t0.matrix(); in transformations()
388 VERIFY_IS_APPROX(t0.inverse(Affine).matrix(), t044.inverse().block(0,0,t0.matrix().rows(),4)); in transformations()
393 t044.block(0,0,t0.matrix().rows(),4) = t0.matrix(); in transformations()
394 VERIFY_IS_APPROX(t0.inverse(Isometry).matrix(), t044.inverse().block(0,0,t0.matrix().rows(),4)); in transformations()
494 VERIFY_IS_APPROX(t32.matrix(), t33.matrix()); in transformations()
496 VERIFY_IS_APPROX(t32.matrix(), t33.matrix()); in transformations()
532 AffineCompactType A1c; A1c.matrix().setRandom(); in transform_associativity()
533 AffineCompactType A2c; A2c.matrix().setRandom(); in transform_associativity()
536 ProjectiveType P1; P1.matrix().setRandom(); in transform_associativity()
577 p1->matrix().setRandom(); in transform_alignment()
581 VERIFY_IS_APPROX(p1->matrix(), p2->matrix()); in transform_alignment()
582 VERIFY_IS_APPROX(p1->matrix(), p3->matrix()); in transform_alignment()
599 Proj p; p.matrix().setRandom(); in transform_products()
603 Mat p_m(p.matrix()), a_m(a.matrix()); in transform_products()
605 VERIFY_IS_APPROX((p*p).matrix(), p_m*p_m); in transform_products()
606 VERIFY_IS_APPROX((a*a).matrix(), a_m*a_m); in transform_products()
607 VERIFY_IS_APPROX((p*a).matrix(), p_m*a_m); in transform_products()
608 VERIFY_IS_APPROX((a*p).matrix(), a_m*p_m); in transform_products()
609 VERIFY_IS_APPROX((ac*a).matrix(), a_m*a_m); in transform_products()
610 VERIFY_IS_APPROX((a*ac).matrix(), a_m*a_m); in transform_products()
611 VERIFY_IS_APPROX((p*ac).matrix(), p_m*a_m); in transform_products()
612 VERIFY_IS_APPROX((ac*p).matrix(), a_m*p_m); in transform_products()