Pathfinder
Namespaces | Functions
Vec.h File Reference

This file declares all functionality related to vectors. More...

#include <Geometry/Vec2.h>
#include "Using.h"
Include dependency graph for Vec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Pathfinder
 

Functions

Geometry::Vec3 Pathfinder::crossProduct (const Geometry::Vec3 &a, const Geometry::Vec3 &b)
 Compute the cross product of two vectors. More...
 
float Pathfinder::dotProduct (const Geometry::Vec3 &a, const Geometry::Vec3 &b)
 Compute the dot product of two vectors. More...
 
Geometry::Vec3 Pathfinder::scalarMultiplication (const float &a, const Geometry::Vec3 &b)
 Scale a vector by a scalar. More...
 
bool Pathfinder::operator< (const Geometry::Vec3 &l, const Geometry::Vec3 &r)
 Overload operator<. More...
 
float Pathfinder::distance2 (Geometry::Vec2 &p1, Geometry::Vec2 &p2)
 Compute the euclidean distance between two points in 2D. More...
 
float Pathfinder::distance3 (const Geometry::Vec3 &v1, const Geometry::Vec3 &v2)
 Compute the euclidean distance between two nodes. More...
 

Detailed Description

This file declares all functionality related to vectors.

Author
Jan-Luca Hansel