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 __SPHERE3D_H 00014 #define __SPHERE3D_H 00015 00016 //-- project includes -- 00017 #include "Foundation/vec3.h" 00018 00028 class Sphere3D { 00029 private: 00030 static double NearZero; 00031 00032 public: 00033 static bool FillIn(const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,double,double,Vec3&,double&); 00034 static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,double,Vec3&,double&) ; 00035 }; 00036 00037 #endif // __SPHERE3D_H