RoboidControl for Arduino
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
Angle Class Reference

#include <Angle.h>

Static Public Member Functions

static float Normalize (float angle)
 
static float Clamp (float angle, float min, float max)
 
static float Difference (float a, float b)
 
static float MoveTowards (float fromAngle, float toAngle, float maxAngle)
 
static float CosineRuleSide (float a, float b, float gamma)
 
static float CosineRuleAngle (float a, float b, float c)
 
static float SineRuleAngle (float a, float beta, float c)
 

Static Public Attributes

static const float Rad2Deg = 57.29578F
 
static const float Deg2Rad = 0.0174532924F
 

Member Function Documentation

◆ Normalize()

float Angle::Normalize ( float  angle)
static

◆ Clamp()

float Angle::Clamp ( float  angle,
float  min,
float  max 
)
static

◆ Difference()

float Angle::Difference ( float  a,
float  b 
)
static

◆ MoveTowards()

float Angle::MoveTowards ( float  fromAngle,
float  toAngle,
float  maxAngle 
)
static

◆ CosineRuleSide()

float Angle::CosineRuleSide ( float  a,
float  b,
float  gamma 
)
static

◆ CosineRuleAngle()

float Angle::CosineRuleAngle ( float  a,
float  b,
float  c 
)
static

◆ SineRuleAngle()

float Angle::SineRuleAngle ( float  a,
float  beta,
float  c 
)
static

Member Data Documentation

◆ Rad2Deg

const float Angle::Rad2Deg = 57.29578F
static

◆ Deg2Rad

const float Angle::Deg2Rad = 0.0174532924F
static

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