MathTools Class Reference

#include <RobotAPI/components/EarlyVisionGraph/MathTools.h>

Static Public Member Functions

static double Angle (Eigen::Vector3d vec1, Eigen::Vector3d vec2)
 
static float AngleAndDirection (Eigen::Vector3d vector1, Eigen::Vector3d vector2, Eigen::Vector3d normal)
 
static float CalculateCrossProductFromDifference (TSphereCoord p1, TSphereCoord p2, TSphereCoord p3)
 
static void convert (Eigen::Vector3d in, TSphereCoord &out)
 
static void convert (Eigen::Vector3f in, TSphereCoord &out)
 
static void convert (TSphereCoord in, Eigen::Vector3d &out)
 
static void convert (TSphereCoord in, Eigen::Vector3f &out)
 
static void convertWithDistance (TSphereCoord in, Eigen::Vector3d &out)
 
static TTransform determinePathTransformation (TPath *p1, TPath *p2)
 
static TTransform determineTransformation (TSphereCoord start1, TSphereCoord start2, TSphereCoord end1, TSphereCoord end2)
 
static void determineTransformationAlphaBeta (TSphereCoord sc1, TSphereCoord sc2, float &fAlpha, float &fBeta, Eigen::Vector3d &betaAxis)
 
static Eigen::Vector3d dropAPerpendicular (Eigen::Vector3d point, Eigen::Vector3d linepoint, Eigen::Vector3d linevector)
 
static float getDistance (TSphereCoord p1, TSphereCoord p2, float fRadius)
 
static float getDistanceOnArc (TSphereCoord p1, TSphereCoord p2)
 
static bool IntersectLines (Eigen::Vector2d p1, Eigen::Vector2d m1, Eigen::Vector2d p2, Eigen::Vector2d m2, Eigen::Vector2d &res)
 
static TSphereCoord inverseTransform (TSphereCoord sc, TTransform transform)
 
static TSphereCoord inverseTransformAlphaBeta (TSphereCoord sc, float fAlpha, float fBeta, Eigen::Vector3d betaAxis)
 
static TPath * inverseTransformPath (TTransform transform, TPath *pPath)
 
static TSphereCoord transform (TSphereCoord sc, TTransform transform)
 
static TSphereCoord transformAlphaBeta (TSphereCoord sc, float fAlpha, float fBeta, Eigen::Vector3d betaAxis)
 
static TPath * transformPath (TTransform transform, TPath *pPath)
 

Member Function Documentation

◆ Angle()

double Angle ( Eigen::Vector3d vec1,
Eigen::Vector3d vec2 )
static

◆ AngleAndDirection()

float AngleAndDirection ( Eigen::Vector3d vector1,
Eigen::Vector3d vector2,
Eigen::Vector3d normal )
static

◆ CalculateCrossProductFromDifference()

float CalculateCrossProductFromDifference ( TSphereCoord p1,
TSphereCoord p2,
TSphereCoord p3 )
static

◆ convert() [1/4]

void convert ( Eigen::Vector3d in,
TSphereCoord & out )
static

◆ convert() [2/4]

void convert ( Eigen::Vector3f in,
TSphereCoord & out )
static

◆ convert() [3/4]

void convert ( TSphereCoord in,
Eigen::Vector3d & out )
static

◆ convert() [4/4]

void convert ( TSphereCoord in,
Eigen::Vector3f & out )
static

◆ convertWithDistance()

void convertWithDistance ( TSphereCoord in,
Eigen::Vector3d & out )
static

◆ determinePathTransformation()

TTransform determinePathTransformation ( TPath * p1,
TPath * p2 )
static

◆ determineTransformation()

TTransform determineTransformation ( TSphereCoord start1,
TSphereCoord start2,
TSphereCoord end1,
TSphereCoord end2 )
static

◆ determineTransformationAlphaBeta()

void determineTransformationAlphaBeta ( TSphereCoord sc1,
TSphereCoord sc2,
float & fAlpha,
float & fBeta,
Eigen::Vector3d & betaAxis )
static

◆ dropAPerpendicular()

Eigen::Vector3d dropAPerpendicular ( Eigen::Vector3d point,
Eigen::Vector3d linepoint,
Eigen::Vector3d linevector )
static

◆ getDistance()

float getDistance ( TSphereCoord p1,
TSphereCoord p2,
float fRadius )
static

◆ getDistanceOnArc()

float getDistanceOnArc ( TSphereCoord p1,
TSphereCoord p2 )
static

◆ IntersectLines()

bool IntersectLines ( Eigen::Vector2d p1,
Eigen::Vector2d m1,
Eigen::Vector2d p2,
Eigen::Vector2d m2,
Eigen::Vector2d & res )
static

◆ inverseTransform()

TSphereCoord inverseTransform ( TSphereCoord sc,
TTransform transform )
static

◆ inverseTransformAlphaBeta()

TSphereCoord inverseTransformAlphaBeta ( TSphereCoord sc,
float fAlpha,
float fBeta,
Eigen::Vector3d betaAxis )
static

◆ inverseTransformPath()

TPath * inverseTransformPath ( TTransform transform,
TPath * pPath )
static

◆ transform()

TSphereCoord transform ( TSphereCoord sc,
TTransform transform )
static

◆ transformAlphaBeta()

TSphereCoord transformAlphaBeta ( TSphereCoord sc,
float fAlpha,
float fBeta,
Eigen::Vector3d betaAxis )
static

◆ transformPath()

TPath * transformPath ( TTransform transform,
TPath * pPath )
static

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