Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <polyline.h>
Public Member Functions | |
int | Gqpt (void) const |
point | Gpt (int n) const |
int | Gqsl (void) 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 |
vfloat | distance (const point &fpt) const |
vfloat | distance (const point &fpt, point &cpt) const |
polyline (void) | |
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 (void) | |
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) |
void | polyline_init (const point *fpt, int fqpt) |
void | polyline_del (void) |
Protected Attributes | |
int | qpt |
point * | pt |
int | qsl |
straight * | sl |
absref ** | aref |
Friends | |
int | plane::cross (const polyline &pll, point *crpt, int &qcrpt, polyline *crpll, int &qcrpll, vfloat prec) const |
std::ostream & | operator<< (std::ostream &file, const polyline &p) |
Definition at line 26 of file polyline.h.
|
inline |
Definition at line 97 of file polyline.h.
Referenced by cross().
Heed::polyline::polyline | ( | polyline & | pl | ) |
Definition at line 22 of file polyline.cpp.
Heed::polyline::polyline | ( | const polyline & | pl | ) |
Definition at line 26 of file polyline.cpp.
Heed::polyline::polyline | ( | const point * | fpt, |
int | fqpt | ||
) |
Definition at line 30 of file polyline.cpp.
Definition at line 34 of file polyline.cpp.
|
inline |
Definition at line 110 of file polyline.h.
Definition at line 79 of file polyline.cpp.
Referenced by check_point_in(), Heed::polygon::check_point_in(), and dist_two_inter().
int Heed::polyline::cross | ( | const straight & | fsl, |
point * | pc, | ||
int & | qpc, | ||
polyline * | pl, | ||
int & | qpl, | ||
vfloat | prec | ||
) | const |
Definition at line 97 of file polyline.cpp.
Definition at line 129 of file polyline.cpp.
Definition at line 150 of file polyline.cpp.
Referenced by dist_two_inter().
Definition at line 172 of file polyline.cpp.
|
protectedvirtual |
Reimplemented from absref.
Reimplemented in Heed::polyline_pl, Heed::rectangle, and Heed::spquadr.
Definition at line 18 of file polyline.cpp.
|
inline |
Definition at line 35 of file polyline.h.
Referenced by Heed::cross4pllines(), dist_two_inter(), and Heed::polygon::polygon().
|
inline |
Definition at line 34 of file polyline.h.
Referenced by dist_two_inter(), and Heed::polygon::polygon().
|
inline |
Definition at line 44 of file polyline.h.
Referenced by Heed::splane::cross(), and Heed::polyline_pl::polyline_pl().
|
inline |
Definition at line 45 of file polyline.h.
Referenced by dist_two_inter(), and Heed::polyline_pl::polyline_pl().
Definition at line 43 of file polyline.cpp.
Referenced by Heed::polyline_pl::polyline_pl().
|
inlineprotected |
Definition at line 81 of file polyline.h.
Referenced by Heed::polygon::operator=(), operator=(), Heed::polyline_pl::operator=(), and ~polyline().
|
protected |
Definition at line 50 of file polyline.cpp.
Referenced by Heed::polygon::operator=(), operator=(), Heed::polyline_pl::operator=(), and polyline().
|
friend |
Definition at line 225 of file polyline.cpp.
|
friend |
Referenced by Heed::spquadr::apos(), Heed::spquadr::perpos(), and Heed::polygon::range().
|
protected |
Definition at line 55 of file polyline.h.
Referenced by get_components(), Heed::polyline_pl::get_components(), Heed::rectangle::get_components(), Heed::spquadr::get_components(), polyline_del(), and polyline_init().
|
protected |
Definition at line 29 of file polyline.h.
Referenced by check_point_in(), Heed::polygon::check_point_in(), Heed::plane::cross(), cross(), distance(), Gpt(), Heed::polygon::operator=(), operator=(), Heed::polyline_pl::operator=(), polyline(), polyline_del(), and polyline_init().
|
protected |
Definition at line 28 of file polyline.h.
Referenced by check_point_in(), Heed::polygon::check_point_in(), get_components(), Heed::polyline_pl::get_components(), Heed::rectangle::get_components(), Heed::spquadr::get_components(), Gpt(), Gqpt(), Heed::polygon::operator=(), operator=(), Heed::polyline_pl::operator=(), Heed::polygon::polygon(), polyline(), and polyline_init().
|
protected |
Definition at line 30 of file polyline.h.
Referenced by check_point_in(), Heed::plane::cross(), cross(), distance(), get_components(), Heed::polyline_pl::get_components(), Heed::rectangle::get_components(), Heed::spquadr::get_components(), Gqsl(), Gsl(), and polyline_init().
|
protected |
Definition at line 31 of file polyline.h.
Referenced by check_point_in(), Heed::plane::cross(), cross(), distance(), Gsl(), Heed::spquadr::perpos(), polyline_del(), and polyline_init().