Ignore:
Timestamp:
Aug 3, 2009, 6:58:46 PM (16 years ago)
Author:
Frederik Heber <heber@…>
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.
Message:

Merge branch 'ConcaveHull' of ssh://heber@192.168.194.2/home/metzler/workspace/espack into ConcaveHull

Conflicts:

molecuilder/src/atom.cpp
molecuilder/src/boundary.cpp
molecuilder/src/boundary.hpp
molecuilder/src/linkedcell.cpp
molecuilder/src/linkedcell.hpp
molecuilder/src/molecules.hpp
molecuilder/src/vector.hpp

  • added Saskia Metzler's code that finds whether a point is in- or outside.
  • The code is not yet incorporated, but I rather want to continue with merging TesselationRefactoring first.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/vector.cpp

    r4e4940 r0e2190  
    348348};
    349349
     350/** Checks whether vector has all components zero.
     351 * @return true - vector is zero, false - vector is not
     352 */
     353bool Vector::IsNull()
     354{
     355  return (fabs(x[0]+x[1]+x[2]) < MYEPSILON);
     356};
     357
    350358/** Calculates the angle between this and another vector.
    351359 * \param *y array to second vector
     
    456464};
    457465
    458 ostream& operator<<(ostream& ost,Vector& m)
     466ostream& operator<<(ostream& ost, const Vector& m)
    459467{
    460468  ost << "(";
Note: See TracChangeset for help on using the changeset viewer.