#include "MonitoringModel.hxx"
#include "math.h"
Go to the source code of this file.
void crossProduct |
( |
double |
vec1[3], |
|
|
double |
vec2[3], |
|
|
double |
res[3] |
|
) |
| |
|
inline |
double distance |
( |
double |
pos[3], |
|
|
double |
pos2[3] |
|
) |
| |
|
inline |
compute euclidian distance
double distanceToTrianglePlane |
( |
double |
point[3], |
|
|
double |
tri1[3], |
|
|
double |
tri2[3], |
|
|
double |
tri3[3] |
|
) |
| |
compute the distance of a point to the plane defined by a 3D triangle.
It is the distance between the given point and its projection on the triangle plane.
- Parameters
-
point | coords of the point |
tri1 | coords of the 1st point of the triangle |
tri2 | coords of the 2nd point of the triangle |
tri3 | coords of the 3rd point of the triangle |
double dotProduct |
( |
double |
vec1[3], |
|
|
double |
vec2[3] |
|
) |
| |
|
inline |
void normalize |
( |
double |
vec[3] | ) |
|
|
inline |
double normOf |
( |
double |
vec[3] | ) |
|
|
inline |
double timeParameter2double |
( |
mml::TimeParameter & |
t | ) |
|
convert a TimeParameter (from xsd-cxx generetaed file) to double