#include <iostream>#include <cmath>Classes | |
| class | RVO::Vector2 |
Namespaces | |
| RVO | |
Functions | |
| RVO::Vector2 | operator* (float a, const RVO::Vector2 &q) |
| std::ostream & | operator<< (std::ostream &os, const RVO::Vector2 &q) |
| float | absSq (const RVO::Vector2 &q) |
| float | abs (const RVO::Vector2 &q) |
| RVO::Vector2 | norm (const RVO::Vector2 &q) |
| RVO::Vector2 | normal (const RVO::Vector2 &p, const RVO::Vector2 &q) |
| float | atan (const RVO::Vector2 &q) |
| float | det (const RVO::Vector2 &p, const RVO::Vector2 &q) |
Contains the Vector2 class; a two-dimensional vector, and some operations on a vector.
|
inline |
| q | A vector |
|
inline |
| q | A vector |
|
inline |
| q | A vector |
|
inline |
| p | A vector |
| q | A vector |
|
inline |
| q | A vector |
|
inline |
| p | A point |
| q | A point |
|
inline |
Scalar multiplication.
| a | The left hand side scalar |
| q | The right hand side vector |
|
inline |
Writes a vector to the standard output.
| os | The output stream |
| q | The vector |