libalmath  2.5.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
alposition2d.h File Reference
#include <vector>

Go to the source code of this file.

Classes

struct  AL::Math::Position2D
 Create and play with a Position2D. More...
 

Namespaces

 AL
 
 AL::Math
 

Macros

#define _LIBALMATH_ALMATH_TYPES_ALPOSITION2D_H_
 

Functions

Position2D AL::Math::operator* (const float pM, const Position2D &pPos1)
 
float AL::Math::distanceSquared (const Position2D &pPos1, const Position2D &pPos2)
 Compute the squared distance between two Position2D. More...
 
float AL::Math::distance (const Position2D &pPos1, const Position2D &pPos2)
 Compute the distance between two Position2D $(pPos1,pPos2)$: More...
 
float AL::Math::norm (const Position2D &pPos)
 Compute the norm of a Position2D. More...
 
Position2D AL::Math::normalize (const Position2D &pPos)
 Normalize a Position2D. More...
 
float AL::Math::dotProduct (const Position2D &pPos1, const Position2D &pPos2)
 Compute the dot Product between two Position2D: More...
 
float AL::Math::crossProduct (const Position2D &pPos1, const Position2D &pPos2)
 Compute the cross Product of two Position2D. More...
 
void AL::Math::crossProduct (const Position2D &pPos1, const Position2D &pPos2, float &pRes)
 Compute the cross Product of two Position2D. More...
 

Macro Definition Documentation

#define _LIBALMATH_ALMATH_TYPES_ALPOSITION2D_H_

Definition at line 10 of file alposition2d.h.