Orxonox: src/util/Math.cc File Reference

# Math.cc File Reference

Implementation of several math-functions. More...

`#include "Math.h"`
`#include <OgrePlane.h>`
`#include "MathConvert.h"`
`#include "SubString.h"`
`#include "mbool.h"`

## Namespaces

namespace | orxonox

## Functions

orxonox::Vector2 | orxonox::get2DViewcoordinates (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
orxonox::Vector2 | orxonox::get2DViewdirection (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
float | orxonox::getAngle (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &otherposition)
orxonox::Vector3 | orxonox::getPredictedPosition (const orxonox::Vector3 &myposition, float projectilespeed, const orxonox::Vector3 &targetposition, const orxonox::Vector3 &targetvelocity)
| Returns the predicted position I have to aim at, if I want to hit a moving target with a moving projectile.
unsigned long | orxonox::getUniqueNumber ()
std::ostream & | orxonox::operator<< (std::ostream &out, const orxonox::Degree &degree)
| Function for writing a Degree to a stream.
std::ostream & | orxonox::operator<< (std::ostream &out, const orxonox::Radian &radian)
| Function for writing a Radian to a stream.
std::istream & | orxonox::operator>> (std::istream &in, orxonox::Degree &degree)
| Function for reading a Degree from a stream.
std::istream & | orxonox::operator>> (std::istream &in, orxonox::Radian &radian)
| Function for reading a Radian from a stream.

## Detailed Description

Implementation of several math-functions.