|
Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Plane, defined by defined by a point and a vector normal to the plane. More...
#include <plane.h>
Inheritance diagram for Heed::plane:Public Member Functions | |
| point | Gpiv (void) const |
| vec | Gdir (void) const |
| plane () | |
| plane (const point &fpiv, const vec &fdir) | |
| plane (const straight &sl, const point &pt) | |
| plane (const straight &sl1, const straight &sl2, vfloat prec) | |
| plane & | operator= (const plane &fpl) |
| int | check_point_in (const point &fp, vfloat prec) const |
| point | cross (const straight &sl) const |
| straight | cross (const plane &sl) const |
| int | cross (const polyline &pll, point *crpt, int &qcrpt, polyline *crpll, int &qcrpll, vfloat prec) const |
| vfloat | distance (const point &fpt) 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 absref_transmit | get_components () override |
Protected Attributes | |
| point | piv |
| Origin point, pivot. | |
| vec | dir |
| Direction of normal, unit vector. | |
Static Protected Attributes | |
| static absrefabsref::*[2] | aref |
Friends | |
| int | operator== (const plane &pl1, const plane &pl2) |
| int | operator!= (const plane &pl1, const plane &pl2) |
| bool | apeq (const plane &pl1, const plane &pl2, vfloat prec) |
| std::ostream & | operator<< (std::ostream &file, const plane &s) |
Plane, defined by defined by a point and a vector normal to the plane.
Definition at line 33 of file plane.cpp.
Definition at line 67 of file plane.cpp.
Referenced by Heed::polygon::check_point_in(), Heed::splane::check_point_inside(), and Heed::splane::check_point_inside1().
Definition at line 93 of file plane.cpp.
| int Heed::plane::cross | ( | const polyline & | pll, |
| point * | crpt, | ||
| int & | qcrpt, | ||
| polyline * | crpll, | ||
| int & | qcrpll, | ||
| vfloat | prec | ||
| ) | const |
Definition at line 114 of file plane.cpp.
Definition at line 74 of file plane.cpp.
Referenced by cross(), Heed::splane::cross(), Heed::polygon::cross(), Heed::splane::range(), Heed::straight::straight(), and Heed::straight::vecdistance().
Definition at line 149 of file plane.cpp.
Referenced by check_point_in(), and Heed::circumf::cross().
|
inline |
|
overrideprotectedvirtual |
|
inline |
Definition at line 32 of file plane.h.
Referenced by Heed::splane::check_point_inside(), Heed::splane::check_point_inside1(), and cross().
Definition at line 60 of file plane.cpp.
|
friend |
|
staticprotected |
Definition at line 37 of file plane.h.
Referenced by get_components().
|
protected |
Direction of normal, unit vector.
Definition at line 29 of file plane.h.
Referenced by cross(), distance(), Gdir(), operator=(), and plane().
|
protected |
Origin point, pivot.
Definition at line 27 of file plane.h.
Referenced by cross(), distance(), Gpiv(), operator=(), and plane().