Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
Vector2Dfwd.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 Vector2Dfwd
12 //
13 // Created by: Lorenzo Moneta at Mon Apr 16 2007
14 //
15 //
16 #ifndef ROOT_Math_Vector2Dfwd
17 #define ROOT_Math_Vector2Dfwd 1
18 
19 // forward declarations of displacement vectors (Vectors) and type defs definitions
20 
21 namespace ROOT {
22 
23  namespace Math {
24 
25 
26  template<class CoordSystem, class Tag> class DisplacementVector2D;
27 
28  template<typename T> class Cartesian2D;
29  template<typename T> class Polar2D;
30 
31  class DefaultCoordinateSystemTag;
32 
33 
34  /**
35  2D Vector based on the cartesian coordinates x,y in double precision
36  */
37  typedef DisplacementVector2D< Cartesian2D<double>, DefaultCoordinateSystemTag > XYVector;
38  typedef XYVector XYVectorD;
39 
40  /**
41  2D Vector based on the cartesian coordinates x,y,z in single precision
42  */
43  typedef DisplacementVector2D< Cartesian2D<float>, DefaultCoordinateSystemTag > XYVectorF;
44 
45 
46  /**
47  2D Vector based on the polar coordinates rho, phi in double precision.
48  */
49  typedef DisplacementVector2D< Polar2D<double>, DefaultCoordinateSystemTag > Polar2DVector;
50  typedef Polar2DVector Polar2DVectorD;
51 
52  /**
53  2D Vector based on the polar coordinates rho, phi in single precision.
54  */
55  typedef DisplacementVector2D< Polar2D<float>, DefaultCoordinateSystemTag > Polar2DVectorF;
56 
57 
58 
59 
60  } // end namespace Math
61 
62 } // end namespace ROOT
63 
64 
65 #endif /* ROOT_Math_Vector2Dfwd */