Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <polyline.h>
Public Member Functions | |
point | Gpiv () const |
vec | Gdir1 () const |
vec | Gdir2 () const |
vfloat | Gawidth () const |
vfloat | apos (const point &fpt) const |
Position in units of radians. | |
vfloat | apos (const straight &fsl, vfloat prec) const |
vfloat | perpos (const point &fpt) const |
Perpendicular position. Distance from basis sl[0]. | |
vfloat | perpos (const straight &fsl, vfloat prec) const |
point | pt_angle_rad (vfloat rad, vfloat angle) |
spquadr () | |
spquadr (spquadr &sq) | |
spquadr (const spquadr &sq) | |
spquadr & | operator= (const spquadr &sq) |
spquadr (const point &fpiv, const straight &sl1, const straight &sl2, const vec &fdir1, const vec &fdir2, 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) |
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 () |
Protected Attributes | |
point | piv |
vec | dir1 |
vec | dir2 |
vfloat | awidth |
Width of total plane in units of radians. | |
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 |
Static Protected Attributes | |
static absref absref::* | aref_sp [4] |
Static Protected Attributes inherited from Heed::polyline_pl | |
static absref absref::* | aref_pl = (absref absref::*)&polyline_pl::pn |
Friends | |
std::ostream & | operator<< (std::ostream &file, const spquadr &p) |
Additional Inherited Members | |
Public Attributes inherited from Heed::polygon | |
int | s_convex |
Special quadrangle (for cathode strip shamber). Two lines are going from a point of origin.
Definition at line 203 of file polyline.h.
|
inline |
Definition at line 244 of file polyline.h.
Referenced by spquadr().
Heed::spquadr::spquadr | ( | spquadr & | sq | ) |
Heed::spquadr::spquadr | ( | const spquadr & | sq | ) |
Heed::spquadr::spquadr | ( | const point & | fpiv, |
const straight & | sl1, | ||
const straight & | sl2, | ||
const vec & | fdir1, | ||
const vec & | fdir2, | ||
vfloat | prec | ||
) |
Definition at line 517 of file polyline.cpp.
Position in units of radians.
Definition at line 222 of file polyline.h.
Referenced by apos().
Definition at line 226 of file polyline.h.
|
inline |
Definition at line 214 of file polyline.h.
|
inline |
Definition at line 212 of file polyline.h.
|
inline |
Definition at line 213 of file polyline.h.
|
overrideprotectedvirtual |
|
inline |
Definition at line 211 of file polyline.h.
Definition at line 248 of file polyline.h.
Perpendicular position. Distance from basis sl[0].
Definition at line 232 of file polyline.h.
Referenced by perpos().
Definition at line 237 of file polyline.h.
Definition at line 491 of file polyline.cpp.
|
friend |
Definition at line 529 of file polyline.cpp.
|
staticprotected |
Definition at line 217 of file polyline.h.
Referenced by get_components().
|
protected |
Width of total plane in units of radians.
Definition at line 208 of file polyline.h.
Referenced by Gawidth(), and operator=().
|
protected |
Definition at line 206 of file polyline.h.
Referenced by apos(), Gdir1(), operator=(), pt_angle_rad(), and spquadr().
|
protected |
Definition at line 206 of file polyline.h.
Referenced by Gdir2(), operator=(), pt_angle_rad(), and spquadr().
|
protected |
Definition at line 205 of file polyline.h.
Referenced by apos(), Gpiv(), operator=(), pt_angle_rad(), and spquadr().