Changeset 59e7832 for molecuilder/src/Plane.hpp
- Timestamp:
- Apr 30, 2010, 1:33:12 PM (15 years ago)
- Children:
- 25e17e9
- Parents:
- 4eee8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Plane.hpp
r4eee8f r59e7832 11 11 #include <memory> 12 12 #include <vector> 13 #include <iostream> 13 14 #include "Space.hpp" 14 15 #include "Exceptions/LinearDependenceException.hpp" … … 22 23 public: 23 24 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);25 Plane(const Vector &y1, const Vector &y2, double _offset) throw(ZeroVectorException,LinearDependenceException); 26 Plane(const Vector &_normalVector, double _offset) throw(ZeroVectorException); 26 27 Plane(const Vector &_normalVector, const Vector &_offsetVector) throw(ZeroVectorException); 27 28 virtual ~Plane(); … … 31 32 * returns normal Vector for a plane 32 33 */ 33 Vector getNormal() ;34 Vector getNormal() const; 34 35 /** 35 36 * returns the distance of the plane from the origin 36 37 */ 37 double getOffset() ;38 double getOffset() const; 38 39 /** 39 40 * returns a vector that points on the plane. … … 60 61 }; 61 62 63 std::ostream &operator<< (std::ostream &ost,const Plane& p); 64 62 65 #endif /* PLANE_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.