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_SINCOS   ::sincosf
#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.
CRadians argos::NormalizedDifference (const CRadians &c_angle1, const CRadians &c_angle2)
 Calculates the normalized difference between the given angles.
CDegrees argos::NormalizedDifference (const CDegrees &c_angle1, const CDegrees &c_angle2)
 Calculates the normalized difference between the given angles.
void argos::SinCos (const CRadians &c_radians, Real &f_sin, Real &f_cos)
 Computes the sine and cosine of the passed value in radians.
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 562 of file angles.h.

#define ARGOS_ASIN   ::asinf

Definition at line 560 of file angles.h.

#define ARGOS_ATAN2   ::atan2f

Definition at line 564 of file angles.h.

#define ARGOS_COS   ::cosf

Definition at line 561 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 559 of file angles.h.

#define ARGOS_SINCOS   ::sincosf

Definition at line 555 of file angles.h.

#define ARGOS_TAN   ::tanf

Definition at line 563 of file angles.h.


Generated on 10 Jul 2018 for ARGoS by  doxygen 1.6.1