Wiselib
Namespaces | Functions
wiselib.testing/algorithms/localization/distance_based/math/localization_general_math.h File Reference
#include "algorithms/localization/distance_based/util/localization_defutils.h"
#include "algorithms/localization/distance_based/math/vec.h"
#include <math.h>
#include <limits.h>

Go to the source code of this file.

Namespaces

namespace  wiselib
 

AES Algorithm.


Functions

template<typename Arithmatic_P >
static Arithmatic_P wiselib::collinear_measure (Arithmatic_P, Arithmatic_P, Arithmatic_P, Arithmatic_P=0)
 To decide, whether a triangle is collinear or not, the sum of the two smallest sides minus the largest side is formed.
template<typename Arithmatic_P >
static bool wiselib::is_collinear (Arithmatic_P, Arithmatic_P, Arithmatic_P, Arithmatic_P=0)
 This methode forms the collinear_measure() and decides, whether the triangle is collinear or not.
template<typename Arithmatic_P >
static void wiselib::rotate_2D (Arithmatic_P, Vec< Arithmatic_P > &, const Vec< Arithmatic_P > &=Vec< Arithmatic_P >(0.0, 0.0, 0.0))
 This method rotates a given coordinate by a given radius.
template<typename Arithmatic_P >
static Arithmatic_P wiselib::angle_vec (const Vec< Arithmatic_P > &)
 This method computes the angle of a vector in respect to the x-axis.
template<typename Arithmatic_P >
static Arithmatic_P wiselib::normalize_angle (Arithmatic_P)
 This method sets the angle between 0 and 2*PI.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines