BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
TPoint2D.h File Reference
#include <math.h>
#include "CLHEP/Geometry/Vector3D.h"
#include "CLHEP/Geometry/Point3D.h"

Go to the source code of this file.

Classes

class  TPoint2D
 A class to represent a point in 2D. More...
 

Macros

#define HEP_SHORT_NAMES
 
#define TPOINT2D_INLINE_DEFINE_HERE
 

Typedefs

typedef HepGeom::Vector3D< double > HepVector3D
 
typedef HepGeom::Point3D< double > HepPoint3D
 

Functions

std::ostream & operator<< (std::ostream &, const TPoint2D &)
 

Macro Definition Documentation

◆ HEP_SHORT_NAMES

#define HEP_SHORT_NAMES

Definition at line 22 of file TPoint2D.h.

◆ TPOINT2D_INLINE_DEFINE_HERE

#define TPOINT2D_INLINE_DEFINE_HERE

Definition at line 82 of file TPoint2D.h.

Typedef Documentation

◆ HepPoint3D

typedef HepGeom::Point3D<double> HepPoint3D

Definition at line 31 of file TPoint2D.h.

◆ HepVector3D

typedef HepGeom::Vector3D<double> HepVector3D

Definition at line 25 of file TPoint2D.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  s,
const TPoint2D a 
)

Definition at line 42 of file TPoint2D.cxx.

43 {
44 return s << "(" << a.x() << "," << a.y() << ")";
45}
XmlRpcServer s
Definition: HelloServer.cpp:11
double y(void) const
Definition: TPoint2D.h:94
double x(void) const
Definition: TPoint2D.h:88