TORCS  1.3.9
The Open Racing Car Simulator
Point.h File Reference
#include <algorithm>
#include "Vector.h"
Include dependency graph for Point.h:

Go to the source code of this file.

Classes

class  Point
 

Functions

Point operator+ (const Point &p, const Vector &v)
 
Point operator- (const Point &p, const Vector &v)
 
Vector operator- (const Point &p1, const Point &p2)
 
bool operator< (const Point &p1, const Point &p2)
 
Point inf (const Point &p1, const Point &p2)
 
Point sup (const Point &p1, const Point &p2)
 
Point affine (const Point &p1, const Point &p2, Scalar t)
 
Scalar distance (const Point &p1, const Point &p2)
 
Scalar distance2 (const Point &p1, const Point &p2)
 

Function Documentation

◆ affine()

Point affine ( const Point p1,
const Point p2,
Scalar  t 
)
inline

Definition at line 112 of file Point.h.

◆ distance()

Scalar distance ( const Point p1,
const Point p2 
)
inline

Definition at line 118 of file Point.h.

Here is the call graph for this function:

◆ distance2()

Scalar distance2 ( const Point p1,
const Point p2 
)
inline

Definition at line 122 of file Point.h.

Here is the call graph for this function:

◆ inf()

Point inf ( const Point p1,
const Point p2 
)
inline

Definition at line 104 of file Point.h.

Here is the call graph for this function:

◆ operator+()

Point operator+ ( const Point p,
const Vector v 
)
inline

Definition at line 88 of file Point.h.

◆ operator-() [1/2]

Point operator- ( const Point p,
const Vector v 
)
inline

Definition at line 92 of file Point.h.

◆ operator-() [2/2]

Vector operator- ( const Point p1,
const Point p2 
)
inline

Definition at line 96 of file Point.h.

◆ operator<()

bool operator< ( const Point p1,
const Point p2 
)
inline

Definition at line 100 of file Point.h.

◆ sup()

Point sup ( const Point p1,
const Point p2 
)
inline

Definition at line 108 of file Point.h.

Here is the call graph for this function: