All Classes Namespaces Files Functions Variables Typedefs Pages
Namespaces | Functions
Definitions.h File Reference

Defines global functions used throughout the solution. More...

#include "Vector2D.h"
#include <vector>
#include <algorithm>

Go to the source code of this file.

Namespaces

 TTC
 The namespace of the library. To make sure that all functions in the library are not conflicting with any other function the library uses it's own namespace. One always needs to use this namespace to access the functions inside this library.
 

Functions

float TTC::Sqr (float a)
 The square of a value. More...
 
Vector2D TTC::closestPointLineSegment (const Vector2D &line_start, const Vector2D &line_end, const Vector2D &p)
 Determine the closest point on a line segment given a test point. More...
 

Detailed Description

Defines global functions used throughout the solution.