Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

AprilTags::MathUtil Class Reference

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

#include <MathUtil.h>


Detailed Description

Miscellaneous math utilities and fast exp functions.

Definition at line 17 of file MathUtil.h.

List of all members.

Static Public Member Functions

static float square (float x)
 Returns the square of a value.
static float distance2D (const std::pair< float, float > &p0, const std::pair< float, float > &p1)
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.

Member Function Documentation

static float AprilTags::MathUtil::distance2D ( const std::pair< float, float > &  p0,
const std::pair< float, float > &  p1 
) [static]
static float AprilTags::MathUtil::mod2pi ( float  ref,
float  v 
) [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.

Referenced by mod2pi().

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

Returns a result in [-Pi, Pi].

Definition at line 30 of file MathUtil.h.

Referenced by AprilTags::Edge::edgeCost(), AprilTags::TagDetector::extractTags(), AprilTags::Edge::mergeEdges(), and AprilTags::Quad::search().

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

Returns the square of a value.

Definition at line 21 of file MathUtil.h.

Referenced by AprilTags::GLine2D::lsqFitXYW().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3