#include <cmath>
#include "ad/physics/Types.hpp"
Go to the source code of this file.
◆ cos()
- Returns
- cosine of the angle
- Note
- throws a std::out_of_range exception if the operand is not valid
◆ operator*() [1/4]
Arithmetic physics operation v = a * t.
- Parameters
-
[in] | a | angular acceleration value |
[in] | t | duration value |
- Returns
- v = a * t as angular velocity value
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator*() [2/4]
Arithmetic physics operation s = v * t.
- Parameters
-
[in] | v | angular speed value |
[in] | t | duration value |
- Returns
- s = v * t as angle value
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator*() [3/4]
Arithmetic physics operation v = t * a.
- Parameters
-
[in] | t | duration value |
[in] | a | angular acceleration value |
- Returns
- v = t * a as angular velocity value
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator*() [4/4]
Arithmetic physics operation s = t * v.
- Parameters
-
[in] | t | duration value |
[in] | v | angular speed value |
- Returns
- s = v * t as angle value
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ sin()
- Returns
- sine of the angle
- Note
- throws a std::out_of_range exception if the operand is not valid
◆ tan()
- Returns
- Tangent of the angle
- Note
- throws a std::out_of_range exception if the operand is not valid