ESyS-Particle  2.3
Sphere3d.h
Go to the documentation of this file.
1 // //
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 __SPHERE3D_H
14 #define __SPHERE3D_H
15 
16 //-- project includes --
17 #include "Foundation/vec3.h"
18 
28 class Sphere3D {
29  private:
30  static double NearZero;
31 
32  public:
33  static bool FillIn(const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,double,double,Vec3&,double&);
34  static bool FillInWP(const Vec3&,const Vec3&,const Vec3&,const Vec3&,const Vec3&,double,double,double,Vec3&,double&) ;
35 };
36 
37 #endif // __SPHERE3D_H
static double NearZero
Definition: Sphere3d.h:30
Definition: vec3.h:46
static bool FillIn(const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, double, Vec3 &, double &)
Definition: Sphere3d.cpp:31
Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the ...
Definition: Sphere3d.h:28
static bool FillInWP(const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, Vec3 &, double &)
Definition: Sphere3d.cpp:132