#include "MemDebug.h"
#include "Geometry.h"
Go to the source code of this file.
Functions |
double | ClosestApproachTime (const Point &loc1, const Point &vel1, const Point &loc2, const Point &vel2) |
double | ClosestApproachTime (const Vec3 &loc1, const Vec3 &vel1, const Vec3 &loc2, const Vec3 &vel2) |
void | swap_elem (double &a, double &b) |
int | sign (double d) |
double | DotProduct (const Point &a, const Point &b) |
void | CrossProduct (const Point &a, const Point &b, Point &out) |
void | MConcat (double in1[3][3], double in2[3][3], double out[3][3]) |
int | SAME_SIGNS (double a, double b) |
int | lines_intersect (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, double &ix, double &iy) |
Macro Definition Documentation
Function Documentation
double ClosestApproachTime |
( |
const Point & |
loc1, |
|
|
const Point & |
vel1, |
|
|
const Point & |
loc2, |
|
|
const Point & |
vel2 |
|
) |
| |
double ClosestApproachTime |
( |
const Vec3 & |
loc1, |
|
|
const Vec3 & |
vel1, |
|
|
const Vec3 & |
loc2, |
|
|
const Vec3 & |
vel2 |
|
) |
| |
double DotProduct |
( |
const Point & |
a, |
|
|
const Point & |
b |
|
) |
| |
int lines_intersect |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
x3, |
|
|
double |
y3, |
|
|
double |
x4, |
|
|
double |
y4, |
|
|
double & |
ix, |
|
|
double & |
iy |
|
) |
| |
void MConcat |
( |
double |
in1[3][3], |
|
|
double |
in2[3][3], |
|
|
double |
out[3][3] |
|
) |
| |
int SAME_SIGNS |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
inline |
void swap_elem |
( |
double & |
a, |
|
|
double & |
b |
|
) |
| |
|
inline |