ESyS-Particle  2.3.2
Sphere.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
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 __SPHERE2D_H
14 #define __SPHERE2D_H
15 
16 //-- project includes --
17 #include "vec3.h"
18 
28 class Sphere {
29 public:
30  // 2D fill-in
31  static bool FillIn(Vec3 P1, Vec3 P2, Vec3 P3, double r1, double r2, double r3, Vec3 &M, double &r) ;
32  static bool FillInWP(Vec3 P1, Vec3 P2, Vec3 O, Vec3 iD, double r1, double r2, Vec3 &M, double &r) ;
33  static bool FillInWP(Vec3 iP1, Vec3 iO, Vec3 iD, double r1, double r, Vec3 &M, int wsol=1) ;
34  //static bool FillInWFS(Vec3 P1, Vec3 P2, AGeneralSurface &FS, double r1, double r2, Vec3 &M, double &r) ;
35  //static bool FillInWFS(Vec3 P1, AGeneralSurface &FS, double r1, double r, Vec3 &M, int wsol=1) ;
36 } ;
37 
38 #endif // __SPHERE2D_H