Tizen Native API
5.0
|
An angle in radians. More...
Public Member Functions | |
Radian () | |
Default constructor, initializes to 0. | |
Radian (float value) | |
Creates an angle in radians. | |
Radian (Degree degree) | |
Creates an angle in radians from an angle in degrees. | |
Radian & | operator= (float value) |
Assigns an angle from a float value. | |
Radian & | operator= (Degree degree) |
Assigns an angle from a Degree value. | |
operator float () const | |
Conversion to float. | |
Public Attributes | |
float | radian |
The value in radians. |
An angle in radians.
This reduces ambiguity when using methods which accept angles in degrees or radians.
Default constructor, initializes to 0.
Dali::Radian::Radian | ( | float | value | ) | [explicit] |
Creates an angle in radians.
[in] | value | The initial value in radians |
Dali::Radian::Radian | ( | Degree | degree | ) |
Creates an angle in radians from an angle in degrees.
[in] | degree | The initial value in degrees |
Dali::Radian::operator float | ( | ) | const |
Radian& Dali::Radian::operator= | ( | float | value | ) |
Assigns an angle from a float value.
[in] | value | Float value in radians |