Changeset 0e2190 for molecuilder/src/vector.cpp
- Timestamp:
- Aug 3, 2009, 6:58:46 PM (16 years ago)
- Children:
- f4a346
- Parents:
- 4e4940 (diff), e8de2e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
molecuilder/src/vector.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/vector.cpp
r4e4940 r0e2190 348 348 }; 349 349 350 /** Checks whether vector has all components zero. 351 * @return true - vector is zero, false - vector is not 352 */ 353 bool Vector::IsNull() 354 { 355 return (fabs(x[0]+x[1]+x[2]) < MYEPSILON); 356 }; 357 350 358 /** Calculates the angle between this and another vector. 351 359 * \param *y array to second vector … … 456 464 }; 457 465 458 ostream& operator<<(ostream& ost, Vector& m)466 ostream& operator<<(ostream& ost, const Vector& m) 459 467 { 460 468 ost << "(";
Note:
See TracChangeset
for help on using the changeset viewer.
