source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/MatrixBase_isOrthogonal.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 293 bytes
Line 
1Vector3d v(1,0,0);
2Vector3d w(1e-4,0,1);
3cout << "Here's the vector v:" << endl << v << endl;
4cout << "Here's the vector w:" << endl << w << endl;
5cout << "v.isOrthogonal(w) returns: " << v.isOrthogonal(w) << endl;
6cout << "v.isOrthogonal(w,1e-3) returns: " << v.isOrthogonal(w,1e-3) << endl;
Note: See TracBrowser for help on using the repository browser.