Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Point. More...
#include <vec.h>
Public Member Functions | |
void | down (const abssyscoor *fasc) override |
Convert numbering representation of object to basical system of fasc. | |
void | up (const abssyscoor *fasc) override |
Convert numbering representation of objects to new system. | |
void | shift (const vec &dir) override |
point () | |
Default constructor (coordinates are not initialised). | |
point (const vec &fv) | |
Constructor from vector. | |
point (const vfloat fex, const vfloat fey, const vfloat fez) | |
Constructor from coordinates. | |
point & | operator= (const point &fp) |
vec | operator- (const point &pp) const |
point | operator+ (const vec &fv) const |
virtual point * | copy () const |
virtual void | print (std::ostream &file, int l) const |
virtual | ~point () |
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) |
Public Attributes | |
vec | v |
Friends | |
int | operator== (const point &p1, const point &p2) |
int | operator!= (const point &p1, const point &p2) |
bool | apeq (const point &p1, const point &p2, vfloat prec) |
std::ostream & | operator<< (std::ostream &file, const point &p) |
|
inline |
Default constructor (coordinates are not initialised).
Definition at line 381 of file vec.h.
Referenced by copy(), and operator+().
|
inline |
|
inlinevirtual |
|
overridevirtual |
Convert numbering representation of object to basical system of fasc.
Reimplemented from Heed::absref.
Definition at line 418 of file vec.cpp.
Referenced by Heed::straight::vecdistance().
|
virtual |
|
inlineoverridevirtual |
|
overridevirtual |
Convert numbering representation of objects to new system.
Reimplemented from Heed::absref.
Definition at line 422 of file vec.cpp.
Referenced by Heed::manip_absvol::m_check_point_inside().
|
friend |
vec Heed::point::v |
Definition at line 368 of file vec.h.
Referenced by Heed::box::check_point_inside(), Heed::plane::cross(), Heed::cross4pllines(), down(), Heed::HeedFieldMap::field_map(), Heed::HeedFieldMap::inside(), operator+(), operator-(), operator=(), Heed::gparticle::position(), Heed::box::range_ext(), shift(), Heed::straight::straight(), up(), and Heed::straight::vecdistance().