PlaneAngle.h File Reference

defines PlaneAngle physcial quantity More...

#include "Quantities/Quantity/Variable.h"
#include "Quantities/Quantity/Constant.h"
#include "Quantities/Quantity/QuantityAggregates.h"

Include dependency graph for PlaneAngle.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  quantity
namespace  quantity::planeAngle

Classes

struct  quantity::QuantityTraits< planeAngle::Class >
 the plane angle quantity traits template More...
struct  quantity::DerivedQuantityTraits< planeAngle::Class, planeAngle::DerivedPlaneAngle >

Defines

#define PHYSICALQUANTITIES_PLANEANGLE_TRIGONOMETRY_HELPER(helper)   template<class ST> struct helper<planeAngle::Class, ST> {static ST exec (const Quantity<planeAngle::Class, ST> &quantity) {return ST(std::sin (unit::Reverse<planeAngle::Radian>::VAL (quantity.standard_value ())));}};
 override trigonometric helpers as defined in Variable.h

Typedefs

typedef unit::Prefixable< Unit,
RadianUnits > 
quantity::planeAngle::Radians
 the radians
typedef unit::Prefixed< Radians > quantity::planeAngle::Radian
 the Radian
typedef unit::Prefixed
< Radians, unit::Deci
quantity::planeAngle::DeciRadian
typedef unit::Prefixed
< Radians, unit::Milli
quantity::planeAngle::MilliRadian
typedef unit::Prefixed
< Radians, unit::Micro
quantity::planeAngle::MicroRadian
typedef unit::Prefixed
< Radians, unit::Nano
quantity::planeAngle::NanoRadian
typedef unit::Prefixed
< Radians, unit::Pico
quantity::planeAngle::PicoRadian
typedef unit::NonPrefixable
< Unit, DegreeUnit > 
quantity::planeAngle::Degree
 the degree
typedef unit::NonPrefixable
< Unit, MinuteUnit > 
quantity::planeAngle::Minute
 the minute
typedef unit::NonPrefixable
< Unit, SecondUnit > 
quantity::planeAngle::Second
 the second
typedef unit::NonPrefixable
< Unit, GradeUnit > 
quantity::planeAngle::Grade
 the grade
typedef Loki::Typelist
< Radians, Loki::Typelist
< Degree, Loki::Typelist
< Minute, Loki::Typelist
< Second, Loki::Typelist
< Grade, Loki::NullType > > > > > 
quantity::planeAngle::Units
 list of all available plane angle units
typedef quantity::Quantity< Class > quantity::planeAngle::Quantity
typedef quantity::Quantity
< Class, int > 
quantity::planeAngle::IntQuantity
typedef Variable
< planeAngle::Quantity > 
quantity::PlaneAngle
 the plane angle variable with default storage unit and storage type double
typedef Variable
< planeAngle::IntQuantity > 
quantity::IntPlaneAngle
 the plane angle variable with default storage unit and storage type int
typedef Variable
< planeAngle::Quantity > 
quantity::DegreePlaneAngle
 the plane angle variable with storage unit Degree and storage type double
typedef Constant
< planeAngle::Quantity > 
quantity::PlaneAngleConstant
 the plane angle constant with default storage unit and storage type double
typedef VariableVector
< QuantityVector
< planeAngle::Class > > 
quantity::PlaneAngleVector
 the plane angle variable vector with default storage unit and storage type double


Detailed Description

defines PlaneAngle physcial quantity

Definition in file PlaneAngle.h.


Define Documentation

#define PHYSICALQUANTITIES_PLANEANGLE_TRIGONOMETRY_HELPER ( helper   )     template<class ST> struct helper<planeAngle::Class, ST> {static ST exec (const Quantity<planeAngle::Class, ST> &quantity) {return ST(std::sin (unit::Reverse<planeAngle::Radian>::VAL (quantity.standard_value ())));}};

override trigonometric helpers as defined in Variable.h

specializations of the respective general helpers in Variable.h; Convert into rad unit to take into account that the trigonometric functions in namespace std assume their argument to be in that unit.

Definition at line 120 of file PlaneAngle.h.


Generated on Wed Apr 11 18:06:55 2012 for Quantities by  doxygen 1.5.6