Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
angleutils.h File Reference
#include <algorithm>
#include <cmath>
#include "ion/math/angle.h"
#include "ion/math/utils.h"
#include "ion/math/vector.h"
#include "ion/math/vectorutils.h"
Include dependency graph for angleutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::math
 

Functions

template<typename T >
Angle< Tion::math::ArcCosine (T v)
 Returns the inverse cosine of the given value. More...
 
template<>
Angle< float > ion::math::ArcCosine (float v)
 float specialization of ArcCosine. More...
 
template<typename T >
Angle< Tion::math::ArcSine (T v)
 Returns the inverse sine of the given value. More...
 
template<>
Angle< float > ion::math::ArcSine (float v)
 float specialization of ArcSine. More...
 
template<typename T >
Angle< Tion::math::ArcTangent (T v)
 Returns the inverse tangent of the given value. More...
 
template<>
Angle< float > ion::math::ArcTangent (float v)
 float specialization of ArcTan. More...
 
template<typename T >
Angle< Tion::math::ArcTangent2 (T y, T x)
 Returns the four-quadrant inverse tangent of the given values. More...
 
template<>
Angle< float > ion::math::ArcTangent2 (float y, float x)
 float specialization of ArcTangent2. More...
 
template<typename T >
T ion::math::Cosine (const ion::math::Angle< T > &angle)
 ion::math::Angle specialization of Cosine. More...
 
template<typename T >
T ion::math::Sine (const ion::math::Angle< T > &angle)
 ion::math::Angle specialization of Sine. More...
 
template<typename T >
T ion::math::Tangent (const ion::math::Angle< T > &angle)
 ion::math::Angle specialization of Tangent. More...
 
template<int Dimension, typename T >
Angle< Tion::math::AngleBetween (const ion::math::Vector< Dimension, T > &a, const ion::math::Vector< Dimension, T > &b)
 Returns the angle between two unit vectors. More...