Lines Matching refs:Vector3
24 typedef Matrix<Scalar,3,1> Vector3;
38 Vector3 v0 = Vector3::Random(),
39 v1 = Vector3::Random();
57 VERIFY_IS_APPROX( (t0 * Vector3(1,0,0)).template head<3>().norm(), v0.x());
95 typedef Matrix<Scalar,3,1> Vector3;
109 Vector3 v0 = Vector3::Random(),
110 v1 = Vector3::Random();
128 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX())
129 * AngleAxisx(Scalar(0.2), Vector3::UnitY())
130 * AngleAxisx(Scalar(0.3), Vector3::UnitZ());
132 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix()
133 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix()
134 * (AngleAxisx(Scalar(0.3), Vector3(0,0,1)).toRotationMatrix() * v1)));
192 VERIFY_IS_APPROX(t0.scale(a).matrix(), t1.scale(Vector3::Constant(a)).matrix());
193 VERIFY_IS_APPROX(t0.prescale(a).matrix(), t1.prescale(Vector3::Constant(a)).matrix());
199 mat4 << mat3 , Vector3::Zero() , Vector4::Zero().transpose();
206 Vector3 v3 = Vector3::Random().normalized();
217 v3 = Vector3::Random();