ESyS-Particle  4.0.1
Line.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __LINE_H
14 #define __LINE_H
15 
16 //-- Project includes --
17 #include "Foundation/vec3.h"
18 
25 class Line
26 {
27  protected:
28  Vec3 Pos,U,N;
29  Line();
30 
31  public:
32  Line(const Vec3&,const Vec3&);
33  virtual ~Line(){};
34 
35  Vec3 GetU() const {return U;};
36  Vec3 GetO() const {return Pos;};
37  Vec3 GetN() const {return N;};
38  virtual double sep(const Vec3&);
39 };
40 
41 #endif //__LINE_H