Lines Matching refs:homogeneous
13 template<typename Scalar,int Size> void homogeneous(void)
16 Homogeneous.h
39 VERIFY_IS_APPROX(v0.homogeneous(), hv0);
43 VERIFY_IS_APPROX(m0.colwise().homogeneous(), hm0);
51 VERIFY_IS_APPROX(t1 * (v0.homogeneous().eval()), t1 * v0.homogeneous());
52 VERIFY_IS_APPROX(t1 * (m0.colwise().homogeneous().eval()), t1 * m0.colwise().homogeneous());
55 VERIFY_IS_APPROX(t2 * (v0.homogeneous().eval()), t2 * v0.homogeneous());
56 VERIFY_IS_APPROX(t2 * (m0.colwise().homogeneous().eval()), t2 * m0.colwise().homogeneous());
58 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t2,
59 v0.transpose().rowwise().homogeneous() * t2);
60 m0.transpose().rowwise().homogeneous().eval();
61 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t2,
62 m0.transpose().rowwise().homogeneous() * t2);
65 VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t3,
66 v0.transpose().rowwise().homogeneous() * t3);
67 VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t3,
68 m0.transpose().rowwise().homogeneous() * t3);
81 pts1 = pts.colwise().homogeneous();
82 VERIFY_IS_APPROX(aff * pts.colwise().homogeneous(), (aff * pts1).colwise().hnormalized());
83 VERIFY_IS_APPROX(caff * pts.colwise().homogeneous(), (caff * pts1).colwise().hnormalized());
84 VERIFY_IS_APPROX(proj * pts.colwise().homogeneous(), (proj * pts1));
93 VERIFY_IS_APPROX((proj * pts2).colwise().hnormalized(), (proj * pts2.colwise().hnormalized().colwise().homogeneous()).colwise().hnormalized());
99 CALL_SUBTEST_1(( homogeneous<float,1>() ));
100 CALL_SUBTEST_2(( homogeneous<double,3>() ));
101 CALL_SUBTEST_3(( homogeneous<double,8>() ));