ESyS-Particle  4.0.1
Sphere2d.h
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 __SPHERE2D_H
00014 #define __SPHERE2D_H
00015 
00016 //-- project includes --
00017 #include "Foundation/vec3.h"
00018 
00028 class Sphere2D {
00029  private:
00030   static double NearZero;
00031 
00032  public:
00033   // 2D fill-in
00034   static bool FillIn(const Vec3&,const Vec3&,const Vec3&,double,double,double,Vec3&,double&);
00035   static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,Vec3&,double&);
00036   static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,double,double,Vec3&,int wsol=1);
00037   //static bool FillInWFS(Vec3 P1, Vec3 P2, AGeneralSurface &FS, double r1, double r2, Vec3 &M, double &r) ;
00038   //static bool FillInWFS(Vec3 P1, AGeneralSurface &FS, double r1, double r, Vec3 &M, int wsol=1) ;
00039 } ;
00040 
00041 #endif // __SPHERE2D_H