GPR5100 - Rollback
Loading...
Searching...
No Matches
Public Member Functions | List of all members
core::Radian Class Reference

Radian is an utility class that describes radian angles (0 to 2PI). It can be easily converted to Degree with conversion constructor. It can be used with trigonometric functions (Sin, Cos, Tan) More...

#include <angle.h>

Public Member Functions

constexpr Radian (float value)
 
constexpr Radian (const Degree &angle)
 Conversion constructor that implicitly converts Degree to Radian. More...
 
constexpr float value () const
 
constexpr Radian operator+ (Radian angle) const
 
constexpr Radianoperator+= (Radian angle)
 
constexpr Radian operator- (Radian angle) const
 
constexpr Radianoperator-= (Radian angle)
 
constexpr Radian operator* (float value) const
 
constexpr Radian operator/ (float value) const
 
constexpr Radian operator- () const
 

Detailed Description

Radian is an utility class that describes radian angles (0 to 2PI). It can be easily converted to Degree with conversion constructor. It can be used with trigonometric functions (Sin, Cos, Tan)

Constructor & Destructor Documentation

◆ Radian()

constexpr core::Radian::Radian ( const Degree angle)
constexpr

Conversion constructor that implicitly converts Degree to Radian.

Parameters
angleis the degree angle to be converted to Radian

The documentation for this class was generated from the following file: