ESyS-Particle  2.3.4
Sphere3d.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 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.apache.org/licenses/LICENSE-2.0 //
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
Sphere3d.h
Vec3::norm
VEC3_INLINE double norm() const
Definition: vec3.hpp:211
Sphere3D::NearZero
static double NearZero
Definition: Sphere3d.h:30
Vec3::X
VEC3_INLINE double & X()
Definition: vec3.h:119
Vec3::Z
VEC3_INLINE double & Z()
Definition: vec3.h:121
Vec3::Y
VEC3_INLINE double & Y()
Definition: vec3.h:120
Sphere3D::FillInWP
static bool FillInWP(const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, Vec3 &, double &)
Definition: Sphere3d.cpp:132
Vec3
Definition: vec3.h:47
vec3.h
Sphere3D::FillIn
static bool FillIn(const Vec3 &, const Vec3 &, const Vec3 &, const Vec3 &, double, double, double, double, Vec3 &, double &)
Definition: Sphere3d.cpp:31
Sphere3D
Just methods to calculate the position and dimension of a 2D sphere under given constraints (see the ...
Definition: Sphere3d.h:28