testBasicVectorHelper.cc
Go to the documentation of this file.
1 
13 #include <utl/Point.h>
14 #include <utl/Vector.h>
15 #include <utl/AxialVector.h>
16 
17 
18 namespace tst {
19 
20  template<class Vector>
21  const typename Vector::CoordinateType&
23  {
24  return Vector::kCartesian;
25  }
26 
27  template<class Vector>
28  const typename Vector::CoordinateType&
30  {
31  return Vector::kCylindrical;
32  }
33 
34  template<class Vector>
35  const typename Vector::CoordinateType&
37  {
38  return Vector::kSpherical;
39  }
40 
41  template const utl::Point::CoordinateType& cartesian<utl::Point>();
42  template const utl::Point::CoordinateType& cylindrical<utl::Point>();
43  template const utl::Point::CoordinateType& spherical<utl::Point>();
44 
45  template const utl::Vector::CoordinateType& cartesian<utl::Vector>();
46  template const utl::Vector::CoordinateType& cylindrical<utl::Vector>();
47  template const utl::Vector::CoordinateType& spherical<utl::Vector>();
48 
49  template const utl::AxialVector::CoordinateType& cartesian<utl::AxialVector>();
50  template const utl::AxialVector::CoordinateType& cylindrical<utl::AxialVector>();
51  template const utl::AxialVector::CoordinateType& spherical<utl::AxialVector>();
52 
53 }
54 
55 
56 // Configure (x)emacs for this file ...
57 // Local Variables:
58 // mode:c++
59 // compile-command: "make -C .. -k"
60 // End:
const Vector::CoordinateType & spherical()
const Vector::CoordinateType & cartesian()
const Vector::CoordinateType & cylindrical()
Base class for classes indicating coordinate types.
Definition: BasicVector.h:48

, generated on Tue Sep 26 2023.