ESyS-Particle
4.0.1
|
00001 00002 // // 00003 // Copyright (c) 2003-2011 by The University of Queensland // 00004 // Earth Systems Science Computational Centre (ESSCC) // 00005 // http://www.uq.edu.au/esscc // 00006 // // 00007 // Primary Business: Brisbane, Queensland, Australia // 00008 // Licensed under the Open Software License version 3.0 // 00009 // http://www.opensource.org/licenses/osl-3.0.php // 00010 // // 00012 00013 #ifndef __LINE_H 00014 #define __LINE_H 00015 00016 //-- Project includes -- 00017 #include "Foundation/vec3.h" 00018 00025 class Line 00026 { 00027 protected: 00028 Vec3 Pos,U,N; 00029 Line(); 00030 00031 public: 00032 Line(const Vec3&,const Vec3&); 00033 virtual ~Line(){}; 00034 00035 Vec3 GetU() const {return U;}; 00036 Vec3 GetO() const {return Pos;}; 00037 Vec3 GetN() const {return N;}; 00038 virtual double sep(const Vec3&); 00039 }; 00040 00041 #endif //__LINE_H