#include "debug/debug.h"#include <math.h>Include dependency graph for math2.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | math | 
Defines | |
| #define | MATH2_H_ 1 | 
| #define | M_PI 3.14159265359 | 
| #define | ROUNDING_ERROR (1e-5) | 
| #define | IsZero(x) (fabs(x)<ROUNDING_ERROR) | 
Functions | |
| template<class T> | |
| bool | Between (const T value, const T left, const T right) | 
| double | Clamp (const double value, const double min, const double max) | 
| double | CosDeg (const double value) | 
| template<class T> | |
| T | Max (const T a, const T b) | 
| double | Max (const double a, const double b, const double c) | 
| double | Max (const double a, const double b, const double c, const double d) | 
| double | Max (const double a, const double b, const double c, const double d, const double e) | 
| template<class T> | |
| T | Min (const T a, const T b) | 
| double | Min (const double a, const double b, const double c) | 
| double | Min (const double a, const double b, const double c, const double d) | 
| double | MinMag (const double a, const double b) | 
| double | MinMag (const double a, const double b, const double c) | 
| template<class T> | |
| T | OddOneOut (const T a, const T b, const T c) | 
| int | Pow (const int a, const int b) | 
| double | Rad2Deg (const double radians) | 
| double | Deg2Rad (const double degrees) | 
| double | RandNorm (const double mean, const double standard_devation) | 
| double | SinDeg (const double value) | 
| double | Sqr (const double a) | 
| int | TwoToThePower (const int power) | 
| template<class T> | |
| T | math::Max (const T a, const T b) | 
| template<class T> | |
| T | math::Min (const T a, const T b) | 
      
  | 
  
| 
 
 Definition at line 16 of file math2.h. Referenced by PL_ATACE::GetNextPose(), and CPassive::ResolveJoints().  | 
  
      
  | 
  
| 
 
 Definition at line 12 of file math2.h. Referenced by CosDeg(), Deg2Rad(), IK_ACA::FindJointAdjust(), Rad2Deg(), CPassive::ResolveJoints(), SinDeg(), and CPassive::Solution().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 15 of file math2.h. Referenced by IK_Jacobian::ComputeEndEffVel(), and CPassive::Solution().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Definition at line 42 of file math2.h. References math::Max(), and math::Min(). Referenced by MPK::Segment::IsInterfering(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 9 of file math2.cpp. Referenced by PL_Neural::ClampToJointLimits().  | 
  
      
  | 
  
| 
 
 Definition at line 17 of file math2.cpp. References M_PI. Referenced by DH_Link::GetFrame(), Matrix4x4::Rotate(), Matrix4x4::Rotate2(), and DH_Link::UpdateFrames().  | 
  
      
  | 
  
| 
 
 Definition at line 32 of file math2.cpp. References M_PI. Referenced by IK_InvKinBase::GetTransformFrame(), and PL_ATACE::InterpolatePath().  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 
 Definition at line 67 of file math2.cpp. References Max(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Definition at line 62 of file math2.cpp. References Max(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 57 of file math2.cpp. References Max(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Definition at line 77 of file math2.cpp. References Min(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 72 of file math2.cpp. References Min(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 116 of file math2.cpp. References MinMag(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Definition at line 67 of file math2.h. References IJG_Assert. Referenced by Graph::GraphBase::GetNeighbors().  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 121 of file math2.cpp. References IJG_Assert.  | 
  
      
  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 133 of file math2.cpp. Referenced by PL_GraphBase::GenerateRandomConfig().  | 
  
      
  | 
  
| 
 
 Definition at line 22 of file math2.cpp. References M_PI. Referenced by DH_Link::GetFrame(), Matrix4x4::Rotate(), Matrix4x4::Rotate2(), and DH_Link::UpdateFrames().  | 
  
      
  | 
  
| 
 
 Definition at line 150 of file math2.cpp. Referenced by LocalPlannerClosed::Distance(), PL_MPEP::Distance(), PL_GraphBase::Distance(), PL_MPEP::DistanceInActiveJoints(), PL_PRM_ClosedChain::GetRotAngles(), PL_RGD_PRM::GetRotAngles(), IK_InvKinBase::GetRotAngles(), and Mesh::IsInterfering().  | 
  
      
  | 
  
| 
 
 Definition at line 155 of file math2.cpp. References IJG_Assert.  | 
  
 1.4.6-NO