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

Go to the source code of this file.

Classes

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

Namespaces

 AL
 
 AL::Math
 

Macros

#define _LIBALMATH_ALMATH_TYPES_ALPOSITION3D_H_
 

Functions

ALMATH_API float AL::Math::distanceSquared (const Position3D &pPos1, const Position3D &pPos2)
 Compute the squared distance between two Position3D: More...
 
ALMATH_API float AL::Math::distance (const Position3D &pPos1, const Position3D &pPos2)
 Compute the distance between two Position3D: More...
 
ALMATH_API float AL::Math::norm (const Position3D &pPos)
 Compute the norm of a Position3D: More...
 
ALMATH_API Position3D AL::Math::normalize (const Position3D &pPos)
 Normalize a Position3D: More...
 
ALMATH_API float AL::Math::dotProduct (const Position3D &pPos1, const Position3D &pPos2)
 Compute the dot Product between two Position3D: More...
 
ALMATH_API Position3D AL::Math::crossProduct (const Position3D &pPos1, const Position3D &pPos2)
 Compute the cross Product between two Position3D: More...
 
ALMATH_API void AL::Math::crossProduct (const Position3D &pPos1, const Position3D &pPos2, Position3D &pRes)
 Compute the cross Product between two Position3D: More...
 
ALMATH_API bool AL::Math::isUnitVector (const Position3D &pPos, const float &pEpsilon=0.0001f)
 Checks if the norm of a Position3D is near to 1.0 More...
 
ALMATH_API bool AL::Math::isOrthogonal (const Position3D &pPos1, const Position3D &pPos2, const float &pEpsilon=0.0001f)
 Checks if two Position3D are orthogonal More...
 

Macro Definition Documentation

#define _LIBALMATH_ALMATH_TYPES_ALPOSITION3D_H_

Definition at line 10 of file alposition3d.h.