Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Polygon in plane. More...
#include <polyline.h>
Public Member Functions | |
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 | |
int | s_convex |
Additional Inherited Members | |
Protected Member Functions inherited from Heed::polyline_pl | |
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 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 inherited from Heed::polyline_pl | |
static absrefabsref::* | aref_pl = (absref absref::*)&polyline_pl::pn |
Polygon in plane.
Definition at line 147 of file polyline.h.
|
inline |
Definition at line 161 of file polyline.h.
Referenced by polygon(), Heed::rectangle::rectangle(), and Heed::spquadr::spquadr().
|
inline |
Definition at line 162 of file polyline.h.
|
inline |
Definition at line 165 of file polyline.h.
Definition at line 280 of file polyline.cpp.
Definition at line 339 of file polyline.cpp.
Referenced by cross().
Definition at line 379 of file polyline.cpp.
Definition at line 330 of file polyline.cpp.
Referenced by Heed::rectangle::rectangle().
int Heed::polygon::range | ( | const point & | fpt, |
const vec & | dir, | ||
vfloat & | rng, | ||
point & | fptenr, | ||
vfloat | prec | ||
) | const |
Definition at line 393 of file polyline.cpp.
int Heed::polygon::s_convex |
Definition at line 149 of file polyline.h.
Referenced by Heed::operator<<(), operator=(), and polygon().