Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Rectangle. More...
#include <polyline.h>
Public Member Functions | |
rectangle () | |
rectangle (const point &fpiv, vec fdir[2], vfloat fdim[2], vfloat prec) | |
Public Member Functions inherited from Heed::polygon | |
int | check_point_in (const point &fpt, vfloat prec) const |
point | cross (const straight &fsl, vfloat prec) const |
int | range (const point &fpt, const vec &dir, vfloat &rng, point &fptenr, vfloat prec) const |
polygon & | operator= (const polygon &fpl) |
polygon () | |
polygon (const polygon &plg) | |
polygon (const polyline_pl &fpl, int fs_convex) | |
polygon (const straight *fsl, int fqsl, vfloat prec) | |
Public Member Functions inherited from Heed::polyline_pl | |
plane | Gpn () const |
polyline_pl () | |
polyline_pl (const polyline_pl &pl) | |
polyline_pl (const plane &fpn, const point *fpt, int fqpt) | |
polyline_pl (polyline &pl) | |
polyline_pl (const polyline &pl) | |
polyline_pl & | operator= (const polyline_pl &fpl) |
Public Member Functions inherited from Heed::polyline | |
int | Gqpt () const |
point | Gpt (int n) const |
int | Gqsl () const |
straight | Gsl (int n) const |
int | check_point_in (const point &fpt, vfloat prec) const |
int | cross (const straight &fsl, point *pc, int &qpc, polyline *pl, int &qpl, vfloat prec) const |
vfloat | dist_two_inter (polyline &pl, vfloat prec) const |
Distance between two intervals. | |
vfloat | distance (const point &fpt) const |
vfloat | distance (const point &fpt, point &cpt) const |
Distance between two points. | |
polyline () | |
polyline (polyline &pl) | |
polyline (const polyline &pl) | |
polyline (const point *fpt, int fqpt) | |
polyline (const point &fpt1, const point &fpt2) | |
polyline & | operator= (const polyline &fpl) |
~polyline () | |
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 | |
point | piv |
Central point. | |
vec | dir1 |
Directions of sides, unit length. | |
vec | dir2 |
Directions of sides, unit length. | |
vfloat | dim [2] = {0., 0.} |
Public Attributes inherited from Heed::polygon | |
int | s_convex |
Protected Member Functions | |
virtual absref_transmit | get_components () override |
virtual absref_transmit | get_components () override |
Protected Member Functions inherited from Heed::polyline | |
virtual absref_transmit | get_components () override |
void | polyline_init (const point *fpt, int fqpt) |
void | polyline_del () |
Static Protected Attributes | |
static absref absref::* | aref_rct [4] |
Static Protected Attributes inherited from Heed::polyline_pl | |
static absref absref::* | aref_pl = (absref absref::*)&polyline_pl::pn |
Additional Inherited Members | |
Protected Attributes inherited from Heed::polyline_pl | |
plane | pn |
Protected Attributes inherited from Heed::polyline | |
int | qpt |
point * | pt |
int | qsl |
straight * | sl |
absref ** | aref |
Rectangle.
Definition at line 180 of file polyline.h.
|
inline |
Definition at line 190 of file polyline.h.
Definition at line 432 of file polyline.cpp.
|
overrideprotectedvirtual |
|
staticprotected |
Definition at line 195 of file polyline.h.
Referenced by get_components().
vfloat Heed::rectangle::dim[2] = {0., 0.} |
Definition at line 189 of file polyline.h.
Referenced by Heed::operator<<(), and rectangle().
vec Heed::rectangle::dir1 |
Directions of sides, unit length.
Definition at line 185 of file polyline.h.
Referenced by Heed::operator<<(), and rectangle().
vec Heed::rectangle::dir2 |
Directions of sides, unit length.
Definition at line 187 of file polyline.h.
Referenced by Heed::operator<<(), and rectangle().
point Heed::rectangle::piv |
Central point.
Definition at line 183 of file polyline.h.
Referenced by Heed::operator<<(), and rectangle().