Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <straight.h>
Public Member Functions | |
point | Gpiv (void) const |
vec | Gdir (void) const |
straight () | |
straight (const point &fpiv, const vec &fdir) | |
straight & | operator= (const straight &fsl) |
straight (const point &fp1, const point &fp2) | |
straight (const plane pl1, const plane pl2) | |
straight (const point *pt, int qpt, int anum) | |
straight (const straight sl[4], point pt[2], vfloat prec) | |
int | check_point_in (const point &fp, vfloat prec) const |
point | cross (const straight &sl, vfloat prec) const |
vfloat | vecdistance (const straight &sl, int &type_of_cross, point pt[2]) const |
vfloat | distance (const straight &sl, int &type_of_cross, point pt[2]) const |
vfloat | distance (const point &fpt) const |
vfloat | distance (const point &fpt, point &fcpt) const |
point | vecdistance (const vec normal, const straight &slt) |
straight (straight *sl, int qsl, const straight &sl_start, int anum, vfloat precision, vfloat *dist, point(*pt)[2], vfloat &mean2dist) | |
Public Member Functions inherited from absref | |
virtual | ~absref () |
virtual void | down (const abssyscoor *fasc) |
virtual void | up (const abssyscoor *fasc) |
virtual void | turn (const vec &dir, vfloat angle) |
virtual void | shift (const vec &dir) |
Protected Member Functions | |
virtual void | get_components (ActivePtr< absref_transmit > &aref_tran) |
Protected Attributes | |
point | piv |
vec | dir |
Static Protected Attributes | |
static absrefabsref::*[2] | aref |
Friends | |
int | operator== (const straight &sl1, const straight &sl2) |
int | operator!= (const straight &sl1, const straight &sl2) |
int | apeq (const straight &sl1, const straight &sl2, vfloat prec) |
int | not_apeq (const straight &sl1, const straight &sl2, vfloat prec) |
std::ostream & | operator<< (std::ostream &file, const straight &s) |
Definition at line 25 of file straight.h.
|
inline |
Definition at line 41 of file straight.h.
Definition at line 49 of file straight.h.
Definition at line 27 of file straight.cpp.
Heed::straight::straight | ( | const point * | pt, |
int | qpt, | ||
int | anum | ||
) |
Definition at line 219 of file straight.cpp.
Definition at line 266 of file straight.cpp.
Heed::straight::straight | ( | straight * | sl, |
int | qsl, | ||
const straight & | sl_start, | ||
int | anum, | ||
vfloat | precision, | ||
vfloat * | dist, | ||
point(*) | pt[2], | ||
vfloat & | mean2dist | ||
) |
Definition at line 142 of file straight.cpp.
Definition at line 50 of file straight.cpp.
Referenced by Heed::plane::plane(), and vecdistance().
Definition at line 56 of file straight.cpp.
Referenced by Heed::polyline::cross(), Heed::plane::plane(), and Heed::polygon::polygon().
Definition at line 183 of file straight.cpp.
Definition at line 189 of file straight.cpp.
Definition at line 137 of file straight.cpp.
Referenced by check_point_in(), Heed::circumf::cross(), Heed::cross4pllines(), Heed::polyline::dist_two_inter(), Heed::polyline::distance(), Heed::spquadr::perpos(), and vecdistance().
|
inline |
Definition at line 31 of file straight.h.
Referenced by Heed::circumf::cross(), Heed::plane::cross(), Heed::plane::plane(), Heed::polyline_pl::polyline_pl(), and vecdistance().
|
protectedvirtual |
|
inline |
Definition at line 30 of file straight.h.
Referenced by Heed::plane::cross(), Heed::plane::plane(), and Heed::polyline_pl::polyline_pl().
Definition at line 44 of file straight.h.
Definition at line 75 of file straight.cpp.
Referenced by cross(), distance(), and straight().
Definition at line 201 of file straight.cpp.
Definition at line 40 of file straight.cpp.
Definition at line 75 of file straight.h.
Definition at line 71 of file straight.h.
|
friend |
Definition at line 306 of file straight.cpp.
Definition at line 31 of file straight.cpp.
|
staticprotected |
Definition at line 37 of file straight.h.
Referenced by get_components().
|
protected |
Definition at line 28 of file straight.h.
Referenced by distance(), Gdir(), operator=(), straight(), and vecdistance().
|
protected |
Definition at line 27 of file straight.h.
Referenced by distance(), Gpiv(), operator=(), straight(), and vecdistance().