Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Circumference, determined by point (center), normal vector, and radius. More...
#include <circumf.h>
Public Member Functions | |
circumf () | |
Default constructor. | |
circumf (const point &fpiv, const vec &fdir, vfloat frad) | |
Constructor. | |
circumf (const circumf &f) | |
circumf & | operator= (const circumf &f) |
virtual | ~circumf () |
Destructor. | |
point | Gpiv () const |
vec | Gdir () const |
vfloat | Grad () const |
int | check_point_in (const point &fp, vfloat prec) const |
Return 1 if point on the circumference. | |
int | cross (const plane &pn, point pt[2], vfloat prec) const |
Public Member Functions inherited from Heed::absref | |
virtual | ~absref () |
Destructor. | |
virtual void | down (const abssyscoor *fasc) |
Convert numbering representation of object to basical system of fasc. | |
virtual void | up (const abssyscoor *fasc) |
Convert numbering representation of objects to new system. | |
virtual void | turn (const vec &dir, vfloat angle) |
Turn around axis doing via center of coordinate system along dir. | |
virtual void | shift (const vec &dir) |
Protected Member Functions | |
virtual void | get_components (ActivePtr< absref_transmit > &aref_tran) |
Protected Attributes | |
point | piv |
Central point, pivot. | |
vec | dir |
vfloat | rad |
Radius, >0. | |
Static Protected Attributes | |
static absrefabsref::*[2] | aref |
Friends | |
int | operator== (const circumf &f1, const circumf &f2) |
int | operator!= (const circumf &f1, const circumf &f2) |
bool | apeq (const circumf &f1, const circumf &f2, vfloat prec) |
std::ostream & | operator<< (std::ostream &file, const circumf &f) |
Circumference, determined by point (center), normal vector, and radius.
Heed::circumf::circumf | ( | ) |
Heed::circumf::circumf | ( | const circumf & | f | ) |
Definition at line 27 of file circumf.cpp.
|
inlinevirtual |
Return 1 if point on the circumference.
Definition at line 50 of file circumf.cpp.
Definition at line 58 of file circumf.cpp.
Referenced by Heed::splane::range().
|
inline |
|
protectedvirtual |
|
inline |
|
inline |
Definition at line 44 of file circumf.cpp.
Referenced by check_point_in(), and cross().
|
friend |
Definition at line 84 of file circumf.cpp.
Definition at line 34 of file circumf.cpp.
|
staticprotected |
Definition at line 67 of file circumf.h.
Referenced by get_components().
|
protected |
Normal direction, unit vector. Circles with dir and -dir are considered the same.
Definition at line 62 of file circumf.h.
Referenced by check_point_in(), circumf(), cross(), Gdir(), and operator=().
|
protected |
Central point, pivot.
Definition at line 59 of file circumf.h.
Referenced by check_point_in(), cross(), Gpiv(), and operator=().
|
protected |
Radius, >0.
Definition at line 64 of file circumf.h.
Referenced by check_point_in(), cross(), Grad(), and operator=().