gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
gmshSphere Class Reference

#include <gmshSurface.h>

Inheritance diagram for gmshSphere:
Collaboration diagram for gmshSphere:

Public Member Functions

virtual Range< double > parBounds (int i) const
 
virtual gmshSurface::gmshSurfaceType geomType () const
 
virtual SPoint3 point (double par1, double par2) const
 
virtual SVector3 normal (const SPoint2 &param) const
 
virtual SPoint3 point (double par1, double par2) const=0
 
virtual SPoint3 point (const SPoint2 &p) const
 
- Public Member Functions inherited from gmshSurface
virtual ~gmshSurface ()
 
virtual SPoint3 point (const SPoint2 &p) const
 
virtual SPoint2 parFromPoint (double x, double y, double z)
 
virtual Pair< SVector3, SVector3firstDer (const SPoint2 &param)
 
virtual double getMetricEigenvalue (const SPoint2 &)
 

Static Public Member Functions

static gmshSurfaceNewSphere (int _iSphere, double _x, double _y, double _z, double _r)
 
- Static Public Member Functions inherited from gmshSurface
static void reset ()
 
static int maxTag ()
 
static gmshSurfacegetSurface (int tag)
 

Private Member Functions

 gmshSphere (double _x, double _y, double _z, double _r)
 

Private Attributes

double xc
 
double yc
 
double zc
 
double r
 

Additional Inherited Members

- Public Types inherited from gmshSurface
enum  gmshSurfaceType {
  Plane, Nurbs, Cylinder, Sphere,
  Cone, Torus, ParametricSurface, PolarSphere
}
 
- Public Attributes inherited from gmshSurface
bool vertex_defined_on_surface
 
- Static Protected Attributes inherited from gmshSurface
static std::map< int, gmshSurface * > allGmshSurfaces
 

Detailed Description

Definition at line 68 of file gmshSurface.h.

Constructor & Destructor Documentation

◆ gmshSphere()

gmshSphere::gmshSphere ( double  _x,
double  _y,
double  _z,
double  _r 
)
inlineprivate

Definition at line 71 of file gmshSurface.h.

Referenced by NewSphere().

Here is the caller graph for this function:

Member Function Documentation

◆ geomType()

virtual gmshSurface::gmshSurfaceType gmshSphere::geomType ( ) const
inlinevirtual

Implements gmshSurface.

Definition at line 86 of file gmshSurface.h.

◆ NewSphere()

gmshSurface * gmshSphere::NewSphere ( int  _iSphere,
double  _x,
double  _y,
double  _z,
double  _r 
)
static

Definition at line 38 of file gmshSurface.cpp.

Referenced by GEO_Internals::newGeometrySphere().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normal()

virtual SVector3 gmshSphere::normal ( const SPoint2 param) const
inlinevirtual

Reimplemented from gmshSurface.

Definition at line 92 of file gmshSurface.h.

Here is the call graph for this function:

◆ parBounds()

virtual Range<double> gmshSphere::parBounds ( int  i) const
inlinevirtual

Implements gmshSurface.

Definition at line 79 of file gmshSurface.h.

◆ point() [1/3]

virtual SPoint3 gmshSurface::point
inline

Definition at line 59 of file gmshSurface.h.

◆ point() [2/3]

SPoint3 gmshSphere::point ( double  par1,
double  par2 
) const
virtual

Implements gmshSurface.

Definition at line 61 of file gmshSurface.cpp.

◆ point() [3/3]

virtual SPoint3 gmshSurface::point

Member Data Documentation

◆ r

double gmshSphere::r
private

Definition at line 70 of file gmshSurface.h.

Referenced by NewSphere(), and point().

◆ xc

double gmshSphere::xc
private

Definition at line 70 of file gmshSurface.h.

Referenced by normal(), and point().

◆ yc

double gmshSphere::yc
private

Definition at line 70 of file gmshSurface.h.

Referenced by normal(), and point().

◆ zc

double gmshSphere::zc
private

Definition at line 70 of file gmshSurface.h.

Referenced by normal(), and point().


The documentation for this class was generated from the following files: