Ignore:
Timestamp:
Apr 30, 2010, 9:32:59 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
cb2b9a
Parents:
7a8319
Message:

Added exception specifiers to plane class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Plane.hpp

    r7a8319 raab470  
    1212#include <vector>
    1313#include "Space.hpp"
     14#include "Exceptions/LinearDependenceException.hpp"
     15#include "Exceptions/ZeroVectorException.hpp"
    1416
    1517class Vector;
     
    1921  typedef std::auto_ptr<Vector> vec_ptr;
    2022public:
    21   Plane(const Vector &y1, const Vector &y2, const Vector &y3);
    22   Plane(const Vector &y1, const Vector &y2, double _offset);
    23   Plane(const Vector &_normalVector, double _offset=0);
    24   Plane(const Vector &_normalVector, const Vector &_offsetVector);
     23  Plane(const Vector &y1, const Vector &y2, const Vector &y3) throw(LinearDependenceException);
     24  Plane(const Vector &y1, const Vector &y2, double _offset) throw(LinearDependenceException);
     25  Plane(const Vector &_normalVector, double _offset=0)  throw(ZeroVectorException);
     26  Plane(const Vector &_normalVector, const Vector &_offsetVector) throw(ZeroVectorException);
    2527  virtual ~Plane();
    2628
Note: See TracChangeset for help on using the changeset viewer.