#include "math2.h"
#include <math.h>
#include <stdlib.h>
Include dependency graph for math2.cpp:
Go to the source code of this file.
Functions | |
double | Clamp (const double value, const double min, const double max) |
double | CosDeg (const double value) |
double | SinDeg (const double value) |
double | Rad2Deg (const double radians) |
double | Deg2Rad (const double degrees) |
double | Max (const double a, const double b) |
double | Min (const double a, const double 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) |
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) |
int | Min (const int a, const int b) |
unsigned int | Min (const unsigned int a, const unsigned int b) |
double | MinMag (const double a, const double b) |
double | MinMag (const double a, const double b, const double c) |
int | Pow (const int a, const int b) |
double | RandNorm (const double mean, const double standard_devation) |
double | Sqr (const double a) |
int | TwoToThePower (const int power) |
|
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 37 of file math2.cpp. Referenced by Max(), and LinkBase::SetJointLimits(). |
|
|
|
|
|
|
|
|
|
Definition at line 47 of file math2.cpp. Referenced by CJoints::Distance(), CD_JointLimits::DistanceBetween(), Min(), LinkBase::SetJointLimits(), and O_Bitmap::SetResolution(). |
|
Definition at line 116 of file math2.cpp. References MinMag(). Here is the call graph for this function: ![]() |
|
Definition at line 106 of file math2.cpp. Referenced by CD_JointLimits::JointDisplacement(), and MinMag(). |
|
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 PL_GraphBase::Distance(), PL_MPEP::Distance(), LocalPlannerClosed::Distance(), PL_MPEP::DistanceInActiveJoints(), IK_InvKinBase::GetRotAngles(), PL_RGD_PRM::GetRotAngles(), PL_PRM_ClosedChain::GetRotAngles(), and Mesh::IsInterfering(). |
|
Definition at line 155 of file math2.cpp. References IJG_Assert. |