00001 Vector3d v(1,0,0); 00002 Vector3d w(1e-4,0,1); 00003 cout << "Here's the vector v:" << endl << v << endl; 00004 cout << "Here's the vector w:" << endl << w << endl; 00005 cout << "v.isOrthogonal(w) returns: " << v.isOrthogonal(w) << endl; 00006 cout << "v.isOrthogonal(w,1e-3) returns: " << v.isOrthogonal(w,1e-3) << endl;