![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Definition of a vector in R3. More...
#include "CoreConfig.h"
#include "Logger.h"
#include "Math/consts.h"
#include <cmath>
#include <ostream>
#include <cassert>
Go to the source code of this file.
Classes | |
class | Menge::Math::Vector3d< Type > |
Templated vector in R3. More... | |
class | Menge::Math::Vector3d< Type > |
Templated vector in R3. More... | |
Namespaces | |
Menge | |
The core namespace. All elements of Menge are contained in this namespace. | |
Typedefs | |
typedef Vector3d< float > | Menge::Math::Vector3 |
Declaration of a floating point vector in R3. | |
Functions | |
template<class Type > | |
MENGE_API Type | Menge::Math::abs (const Vector3d< Type > &v) |
Computes the length of a specified two-dimensional vector. More... | |
template<class Type > | |
MENGE_API Vector3d< Type > | Menge::Math::operator* (Type s, const Vector3d< Type > &v) |
Computes the left scalar multiplication of a scalar and 2d vector. More... | |
MATHEXTERN template MENGE_API Vector3d< float > | Menge::Math::operator* (float s, const Vector3d< float > &v) |
Explicit specialization for shared library export. | |
template<class Type > | |
MENGE_API Logger & | Menge::Math::operator<< (Logger &logger, const Vector3d< Type > &v) |
Inserts the specified two-dimensional vector into the logger. More... | |
template<class Type > | |
MENGE_API std::ostream & | Menge::Math::operator<< (std::ostream &os, const Vector3d< Type > &v) |
Inserts the specified two-dimensional vector into the specified output stream. More... | |
MATHEXTERN template MENGE_API Logger & | Menge::Math::operator<< (Logger &os, const Vector3d< float > &v) |
Explicit specialization for shared library export. | |
MATHEXTERN template MENGE_API float | Menge::Math::abs (const Vector3d< float > &v) |
Explicit specialization for shared library export. | |
template<class Type > | |
MENGE_API Type | Menge::Math::absSq (const Vector3d< Type > &v) |
Computes the squared length of a specified two-dimensional vector. More... | |
MATHEXTERN template MENGE_API float | Menge::Math::absSq (const Vector3d< float > &v) |
Explicit specialization for shared library export. | |
template<class Type > | |
MENGE_API Vector3d< Type > | Menge::Math::norm (const Vector3d< Type > &vector) |
Computes the normalization of the specified two-dimensional vector. More... | |
MATHEXTERN template MENGE_API Vector3d< float > | Menge::Math::norm (const Vector3d< float > &vector) |
Explicit specialization for shared library export. | |
template<class Type > | |
MENGE_API bool | Menge::Math::equivalent (const Vector3d< Type > &v1, const Vector3d< Type > &v2, float threshSqd=0.000001f) |
Determines if two vectors are equal to within a threshhold. More... | |
MATHEXTERN template MENGE_API bool | Menge::Math::equivalent (const Vector3d< float > &v1, const Vector3d< float > &v2, float threshSqd) |
Explicit specialization for shared library export. | |
Variables | |
MATHEXTERN template class MENGE_API | Menge::Math::Vector3d< float > |
Explicit specialization for shared library export. | |
Definition of a vector in R3.