Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
Point2Dfwd.h
Go to the documentation of this file.
1 // @(#)root/mathcore:$Id$
2 // Authors: W. Brown, M. Fischler, L. Moneta 2005
3 
4  /**********************************************************************
5  * *
6  * Copyright (c) 2005 , LCG ROOT MathLib Team *
7  * *
8  * *
9  **********************************************************************/
10 
11 // Header file Point2Dfwd
12 //
13 // Created by: Lorenzo Moneta at Mon Apr 16 2007
14 //
15 
16 #ifndef ROOT_Math_Point2Dfwd
17 #define ROOT_Math_Point2Dfwd 1
18 
19 // forward declareations of position vectors (Points) and type defs definitions
20 
21 namespace ROOT {
22 
23  namespace Math {
24 
25  template<class CoordSystem, class Tag> class PositionVector2D;
26 
27  template<typename T> class Cartesian2D;
28  template<typename T> class Polar2D;
29 
30  class DefaultCoordinateSystemTag;
31 
32  /**
33  2D Point based on the cartesian coordinates x,y,z in double precision
34  */
35  typedef PositionVector2D< Cartesian2D<double>, DefaultCoordinateSystemTag > XYPoint;
36  typedef XYPoint XYPointD;
37 
38  /**
39  2D Point based on the cartesian corrdinates x,y,z in single precision
40  */
41  typedef PositionVector2D< Cartesian2D<float>, DefaultCoordinateSystemTag > XYPointF;
42 
43 
44  /**
45  2D Point based on the polar coordinates rho, theta, phi in double precision.
46  */
47  typedef PositionVector2D< Polar2D<double>, DefaultCoordinateSystemTag > Polar2DPoint;
48  typedef Polar2DPoint Polar2DPointD;
49 
50  /**
51  2D Point based on the polar coordinates rho, theta, phi in single precision.
52  */
53  typedef PositionVector2D< Polar2D<float>, DefaultCoordinateSystemTag > Polar2DPointF;
54 
55 
56 
57  } // end namespace Math
58 
59 } // end namespace ROOT
60 
61 
62 #endif /* ROOT_Math_Point2Dfwd */