ESyS-Particle  4.0.1
Sphere.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 "vec3.h"
00018 
00028 class Sphere {
00029 public:
00030   // 2D fill-in
00031   static bool FillIn(Vec3 P1, Vec3 P2, Vec3 P3, double r1, double r2, double r3, Vec3 &M, double &r) ;
00032   static bool FillInWP(Vec3 P1, Vec3 P2, Vec3 O, Vec3 iD, double r1, double r2, Vec3 &M, double &r) ;
00033   static bool FillInWP(Vec3 iP1, Vec3 iO, Vec3 iD, double r1, double r, Vec3 &M, int wsol=1) ;
00034   //static bool FillInWFS(Vec3 P1, Vec3 P2, AGeneralSurface &FS, double r1, double r2, Vec3 &M, double &r) ;
00035   //static bool FillInWFS(Vec3 P1, AGeneralSurface &FS, double r1, double r, Vec3 &M, int wsol=1) ;
00036 } ;
00037 
00038 #endif // __SPHERE2D_H