BOSS 7.1.0
BESIII Offline Software System
|
A class to represent a point in 2D. More...
#include <TPoint2D.h>
Public Member Functions | |
TPoint2D () | |
Constructors. | |
TPoint2D (double, double) | |
TPoint2D (const HepPoint3D &) | |
TPoint2D (const HepVector3D &) | |
virtual | ~TPoint2D () |
Destructor. | |
double | x (void) const |
double | y (void) const |
double | mag (void) const |
double | mag2 (void) const |
double | phi (void) const |
double | x (double) |
double | y (double) |
double | dot (const TPoint2D &) const |
double | cross (const TPoint2D &) const |
TPoint2D | unit (void) const |
TPoint2D | operator+ (const TPoint2D &) const |
TPoint2D | operator- (const TPoint2D &) const |
TPoint2D | operator- () const |
bool | operator== (const TPoint2D &) const |
A class to represent a point in 2D.
Definition at line 37 of file TPoint2D.h.
TPoint2D::TPoint2D | ( | ) |
Constructors.
Definition at line 19 of file TPoint2D.cxx.
Referenced by operator+(), operator-(), and unit().
TPoint2D::TPoint2D | ( | double | x, |
double | y | ||
) |
Definition at line 24 of file TPoint2D.cxx.
TPoint2D::TPoint2D | ( | const HepPoint3D & | a | ) |
Definition at line 29 of file TPoint2D.cxx.
TPoint2D::TPoint2D | ( | const HepVector3D & | a | ) |
Definition at line 34 of file TPoint2D.cxx.
|
virtual |
|
inline |
Definition at line 139 of file TPoint2D.h.
Referenced by TTrackManager::salvageAssociateHits().
|
inline |
Definition at line 133 of file TPoint2D.h.
Referenced by TTrack::stereoHitForCurl(), and TTrack::szPosition().
|
inline |
Definition at line 112 of file TPoint2D.h.
Referenced by TTrack::stereoHitForCurl(), and TTrack::szPosition().
|
inline |
Definition at line 118 of file TPoint2D.h.
Definition at line 145 of file TPoint2D.h.
|
inline |
Definition at line 157 of file TPoint2D.h.
Definition at line 151 of file TPoint2D.h.
Definition at line 163 of file TPoint2D.h.
|
inline |
Definition at line 124 of file TPoint2D.h.
|
inline |
Definition at line 170 of file TPoint2D.h.
|
inline |
Definition at line 100 of file TPoint2D.h.
|
inline |
Definition at line 88 of file TPoint2D.h.
Referenced by cross(), TLine2D::distance(), dot(), TLine2D::fit(), operator+(), operator-(), operator<<(), operator==(), TTrack::stereoHitForCurl(), and TPoint2D().
|
inline |
Definition at line 106 of file TPoint2D.h.
|
inline |
Definition at line 94 of file TPoint2D.h.
Referenced by cross(), TLine2D::distance(), dot(), TLine2D::fit(), operator+(), operator-(), operator<<(), operator==(), TTrack::stereoHitForCurl(), and TPoint2D().