ARGoS  3
A parallel, multi-engine simulator for swarm robotics
core/utility/math/angles.h File Reference
#include <argos3/core/utility/datatypes/datatypes.h>
#include <argos3/core/utility/math/general.h>
#include <argos3/core/utility/math/range.h>
#include <cmath>
+ Include dependency graph for angles.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  argos::CRadians
 It defines the basic type CRadians, used to store an angle value in radians. More...
class  argos::CDegrees
 It defines the basic type CDegrees, used to store an angle value in degrees. More...

Namespaces

namespace  argos
 

The namespace containing all the ARGoS related code.


Defines

#define ARGOS_PI   3.14159265358979323846264338327950288
 To be used when initializing static variables.
#define ARGOS_SIN   ::sinf
#define ARGOS_ASIN   ::asinf
#define ARGOS_COS   ::cosf
#define ARGOS_ACOS   ::acosf
#define ARGOS_TAN   ::tanf
#define ARGOS_ATAN2   ::atan2f

Functions

CDegrees argos::ToDegrees (const CRadians &c_radians)
 Converts CRadians to CDegrees.
CRadians argos::ToRadians (const CDegrees &c_degrees)
 Converts CDegrees to CRadians.
Real argos::Sin (const CRadians &c_radians)
 Computes the sine of the passed value in radians.
Real argos::Cos (const CRadians &c_radians)
 Computes the cosine of the passed value in radians.
Real argos::Tan (const CRadians &c_radians)
 Computes the tangent of the passed value in radians.
CRadians argos::ASin (Real f_value)
 Computes the arcsine of the passed value.
CRadians argos::ACos (Real f_value)
 Computes the arccosine of the passed value.
CRadians argos::ATan2 (const Real f_y, const Real f_x)
 Computes the arctangent of the passed values.

Define Documentation

#define ARGOS_ACOS   ::acosf

Definition at line 529 of file angles.h.

#define ARGOS_ASIN   ::asinf

Definition at line 527 of file angles.h.

#define ARGOS_ATAN2   ::atan2f

Definition at line 531 of file angles.h.

#define ARGOS_COS   ::cosf

Definition at line 528 of file angles.h.

#define ARGOS_PI   3.14159265358979323846264338327950288

To be used when initializing static variables.

Definition at line 32 of file angles.h.

#define ARGOS_SIN   ::sinf

Definition at line 526 of file angles.h.

#define ARGOS_TAN   ::tanf

Definition at line 530 of file angles.h.