Implementations of angles (values in periodic interval of width 2*pi) with arbitrary base type.
More...
|
class | AngleBase< T, UnitTag, Derived > |
| Base class template for derived Angle implementations. More...
|
|
class | DegreeBase< T, Derived > |
| Base class for angle classes that represent angles using degrees. More...
|
|
class | RadianBase< T, Derived > |
| Base class for angle classes that represent angles using radians. More...
|
|
class | Degree< T > |
| Unsigned angle that is represented using degrees. More...
|
|
class | SignedDegree< T > |
| Signed angle that is represented using degrees. More...
|
|
class | IsTransparentSerializable< SignedDegree< T >, SerializerTag > |
|
class | Degree< T > |
| Unsigned angle that is represented using degrees. More...
|
|
class | IsTransparentSerializable< Degree< T >, SerializerTag > |
|
class | Radian< T > |
| Unsigned angle that is represented using radians. More...
|
|
class | SignedRadian< T > |
| Signed angle that is represented using radians. More...
|
|
class | IsTransparentSerializable< SignedRadian< T >, SerializerTag > |
|
class | Radian< T > |
| Unsigned angle that is represented using radians. More...
|
|
class | IsTransparentSerializable< Radian< T >, SerializerTag > |
|
class | Angle< T > |
| Unsigned angle that is represented using radians. More...
|
|
class | SignedAngle< T > |
| Signed angle that is represented using radians. More...
|
|
class | IsTransparentSerializable< SignedAngle< T >, SerializerTag > |
|
class | Angle< T > |
| Unsigned angle that is represented using radians. More...
|
|
class | IsTransparentSerializable< Angle< T >, SerializerTag > |
|
class | IsCheapToCopy< SignedDegreei > |
|
class | IsCheapToCopy< SignedDegreef > |
|
class | IsCheapToCopy< SignedDegreed > |
|
class | IsCheapToCopy< Degreei > |
|
class | IsCheapToCopy< Degreef > |
|
class | IsCheapToCopy< Degreed > |
|
class | IsCheapToCopy< SignedRadianf > |
|
class | IsCheapToCopy< SignedRadiand > |
|
class | IsCheapToCopy< Radianf > |
|
class | IsCheapToCopy< Radiand > |
|
class | IsCheapToCopy< SignedAnglef > |
|
class | IsCheapToCopy< SignedAngled > |
|
class | IsCheapToCopy< Anglef > |
|
class | IsCheapToCopy< Angled > |
|
struct | Deg2RadNonNegativeType |
| A tag type used as parameter type in deg2radSetter, signalling that negative values are not permitted. More...
|
|
|
template<typename T > |
INTERNAL std::enable_if< std::is_floating_point< T >::value, T >::type | deg2rad (T value) |
| Convert degree to radian, for floating point arguments (return type = argument type) More...
|
|
template<typename T > |
std::enable_if< std::is_integral< T >::value, double >::type | deg2rad (T value) |
| Convert degree to radian, for integral arguments (return type = double) More...
|
|
template<typename T > |
std::enable_if<!std::is_arithmetic< T >::value >::type | deg2rad (T value) |
|
template<typename T > |
std::enable_if< std::is_floating_point< T >::value, T >::type | rad2deg (T value) |
| Convert radian to degree, for floating point arguments (return type = argument type) More...
|
|
template<typename T > |
std::enable_if< std::is_integral< T >::value, double >::type | rad2deg (T value) |
| Convert radian to degree, for integral arguments (return type = double) More...
|
|
template<typename T > |
std::enable_if<!std::is_arithmetic< T >::value >::type | rad2deg (T value) |
|
template<typename T > |
T | smallestAngleDifference (const T &a, const T &b) |
| Returns the signed difference angle between the specified angles (in radian) that has the smallest absolute value. More...
|
|
template<typename T > |
bool | inAngleInterval (T value, T min, T max) |
|
template<typename T > |
bool | isInAngleInterval (T value, T min, T max) |
| Returns true, if the given angle (in radian) is in the given interval [min,max]. More...
|
|
template<typename T > |
Getter< T > | rad2degGetter (const T &cref) |
| Create a getter for serializing radians as degrees. More...
|
|
template<typename T > |
Setter< T > | deg2radSetter (T &ref) |
| Create setter for deserializing radians from degrees. See rad2degGetter. More...
|
|
template<typename T > |
Setter< T > | deg2radSetter (T &ref, Deg2RadNonNegativeType) |
| Create a setter for deserializing radians from degrees. More...
|
|
template<typename T > |
Accessor< Getter< T >, Setter< T > > | radAsDegAccessor (T &ref) |
| Create an accessor consisting of getter + setter for serializing radians as degrees. More...
|
|
template<typename T > |
Accessor< Getter< T >, Setter< T > > | radAsDegAccessor (T &ref, Deg2RadNonNegativeType) |
| Create a complete accessor consisting of getter + setter for serializing radians as degrees. More...
|
|
template<typename T , typename UnitTag , typename Derived > |
Derived | abs (const mira::AngleBase< T, UnitTag, Derived > &other) |
|
Implementations of angles (values in periodic interval of width 2*pi) with arbitrary base type.
- Author
- Erik Einhorn
- Date
- 2010/08/02