Static Public Member Functions
AprilTags::MathUtil Class Reference

Miscellaneous math utilities and fast exp functions. More...

#include <MathUtil.h>

List of all members.

Static Public Member Functions

static float distance2D (const std::pair< float, float > &p0, const std::pair< float, float > &p1)
static double fast_atan2 (double y, double x)
static float mod2pi (float vin)
 Returns a result in [-Pi, Pi].
static float mod2pi (float ref, float v)
 Returns a value of v wrapped such that ref and v differ by no more than +/- Pi.
static float square (float x)
 Returns the square of a value.

Detailed Description

Miscellaneous math utilities and fast exp functions.

Definition at line 17 of file MathUtil.h.


Member Function Documentation

static float AprilTags::MathUtil::distance2D ( const std::pair< float, float > &  p0,
const std::pair< float, float > &  p1 
) [inline, static]

Definition at line 23 of file MathUtil.h.

static double AprilTags::MathUtil::fast_atan2 ( double  y,
double  x 
) [inline, static]

Definition at line 44 of file MathUtil.h.

static float AprilTags::MathUtil::mod2pi ( float  vin) [inline, static]

Returns a result in [-Pi, Pi].

Definition at line 30 of file MathUtil.h.

static float AprilTags::MathUtil::mod2pi ( float  ref,
float  v 
) [inline, static]

Returns a value of v wrapped such that ref and v differ by no more than +/- Pi.

Definition at line 41 of file MathUtil.h.

static float AprilTags::MathUtil::square ( float  x) [inline, static]

Returns the square of a value.

Definition at line 21 of file MathUtil.h.


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


apriltags
Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:23:28