Changes in src/vector.cpp [b998c3:717e0c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/vector.cpp
rb998c3 r717e0c 480 480 else 481 481 return false; 482 };483 484 /** Checks whether vector is normal to \a *normal.485 * @return true - vector is normalized, false - vector is not486 */487 bool Vector::IsEqualTo(const Vector * const a) const488 {489 bool status = true;490 for (int i=0;i<NDIM;i++) {491 if (fabs(x[i] - a->x[i]) > MYEPSILON)492 status = false;493 }494 return status;495 482 }; 496 483
Note:
See TracChangeset
for help on using the changeset viewer.