ESyS-Particle  2.3.2
Sphere2d.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 "Foundation/vec3.h"
18 
28 class Sphere2D {
29  private:
30  static double NearZero;
31 
32  public:
33  // 2D fill-in
34  static bool FillIn(const Vec3&,const Vec3&,const Vec3&,double,double,double,Vec3&,double&);
35  static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,Vec3&,double&);
36  static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,double,double,Vec3&,int wsol=1);
37  //static bool FillInWFS(Vec3 P1, Vec3 P2, AGeneralSurface &FS, double r1, double r2, Vec3 &M, double &r) ;
38  //static bool FillInWFS(Vec3 P1, AGeneralSurface &FS, double r1, double r, Vec3 &M, int wsol=1) ;
39 } ;
40 
41 #endif // __SPHERE2D_H