Tizen Native API
6.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. |
Detailed Description
An angle in radians.
This reduces ambiguity when using methods which accept angles in degrees or radians.
- Since:
- 3.0, DALi version 1.0.0
Constructor & Destructor Documentation
Default constructor, initializes to 0.
- Since:
- 3.0, DALi version 1.0.0
Dali::Radian::Radian | ( | float | value | ) | [explicit] |
Creates an angle in radians.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] value The initial value in radians
Dali::Radian::Radian | ( | Degree | degree | ) |
Creates an angle in radians from an angle in degrees.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] degree The initial value in degrees
Member Function Documentation
Dali::Radian::operator float | ( | ) | const |
Radian& Dali::Radian::operator= | ( | float | value | ) |
Assigns an angle from a float value.
- Since:
- 3.0, DALi version 1.0.0
- Parameters:
-
[in] value Float value in radians
- Returns:
- A reference to this