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

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

ALMATH_API Position2D AL::Math::operator* (const float pM, const Position2D &pPos1)
 
ALMATH_API float AL::Math::distanceSquared (const Position2D &pPos1, const Position2D &pPos2)
 Compute the squared distance between two Position2D. More...
 
ALMATH_API float AL::Math::distance (const Position2D &pPos1, const Position2D &pPos2)
 Compute the distance between two Position2D $(pPos1,pPos2)$: More...
 
ALMATH_API float AL::Math::norm (const Position2D &pPos)
 Compute the norm of a Position2D. More...
 
ALMATH_API Position2D AL::Math::normalize (const Position2D &pPos)
 Normalize a Position2D. More...
 
ALMATH_API float AL::Math::dotProduct (const Position2D &pPos1, const Position2D &pPos2)
 Compute the dot Product between two Position2D: More...
 
ALMATH_API float AL::Math::crossProduct (const Position2D &pPos1, const Position2D &pPos2)
 Compute the cross Product of two Position2D. More...
 
ALMATH_API 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.