00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _PlaneAngle_cc
00026 #define _PlaneAngle_cc
00027
00028 #include "Quantity/Variable.h"
00029
00030 #include "PhysicalQuantities/PlaneAngle.h"
00031
00032 namespace quantity {
00033 namespace planeAngle {
00034
00035
00036
00037
00038 template<> const std::string Radians::Basename = "radian";
00039 template<> const std::string Radians::Basesymbol = "rad";
00040 template<> const bool Radians::SI = true;
00041
00042
00043
00044 template<> const std::string Degree::Namestring = "degree";
00045 template<> const std::string Degree::Symbolstring = "deg";
00046 template<> const bool Degree::SI = false;
00047
00048
00049
00050 template<> const std::string Minute::Namestring = "minute";
00051 template<> const std::string Minute::Symbolstring = "'";
00052 template<> const bool Minute::SI = false;
00053
00054
00055
00056 template<> const std::string Second::Namestring = "second";
00057 template<> const std::string Second::Symbolstring = "''";
00058 template<> const bool Second::SI = false;
00059
00060
00061
00062 template<> const std::string Grade::Namestring = "grade";
00063 template<> const std::string Grade::Symbolstring = "grad";
00064 template<> const bool Grade::SI = false;
00065
00066 template<> const long Standard<Radians, long>::ratio = 1;
00067 template<> const double Standard<Radians>::ratio = 1.;
00068 template<> const bool Standard<Radians>::exact = true;
00069
00070 template<> const double Standard<Degree>::ratio
00071 = (4. * std::atan (1.0))/180.;
00072 template<> const bool Standard<Degree>::exact = true;
00073
00074 template<> const double Standard<Minute>::ratio
00075 = (4. * std::atan (1.0))/10800.;
00076 template<> const bool Standard<Minute>::exact = true;
00077
00078 template<> const double Standard<Second>::ratio
00079 = (4. * std::atan (1.0))/648000.;
00080 template<> const bool Standard<Second>::exact = true;
00081
00082 template<> const double Standard<Grade>::ratio
00083 = (4. * std::atan (1.0))/200.;
00084 template<> const bool Standard<Grade>::exact = true;
00085
00086 }
00087
00088 template<> const std::string
00089 Name<planeAngle::Quantity>::String = "plane angle";
00090 template<> const std::string Symbol<planeAngle::Quantity>::String = "";
00091
00092 template<> const std::string
00093 Name<planeAngle::IntQuantity>::String = "plane angle";
00094 template<> const std::string
00095 Symbol<planeAngle::IntQuantity>::String = "";
00096
00097 }
00098
00099 #endif