Open CASCADE Technology
6.9.0
|
Data Structures | |
struct | Tmatrix3Struct |
Macros | |
#define | shortreallast() (3.e+38) |
#define | shortrealfirst() (-3.e+38) |
#define | square(a) ((a)*(a)) |
#define | vecadd(a, b, c) |
#define | vecsub(a, b, c) |
#define | vecdot(a, b) ((a)[0]*(b)[0]+(a)[1]*(b)[1]+(a)[2]*(b)[2]) |
#define | veccrs(a, b, c) |
#define | vecscl(a, b) { (b)[0] *= (a); (b)[1] *= (a); (b)[2] *= (a); } |
#define | vecmg2(a) (square((a)[0])+square((a)[1])+square((a)[2])) |
#define | vecmag(a) (std::sqrt((double)vecmg2(a))) |
#define | vecnrmd(a, d) |
#define | vecnrm(a) { Tfloat d; vecnrmd(a,d); } |
#define | vecang(a, b, d) |
#define | vecgnd(a, b, c, d) |
#define | veccpy(a, b) ((a)[0]=(b)[0],(a)[1]=(b)[1],(a)[2]=(b)[2]) |
#define | matcpy(d, s) { *((Tmatrix3Struct*)(d)) = *((Tmatrix3Struct*)(s)); } |
#define | matdump(m) |
Functions | |
int | TelGetPolygonNormal (tel_point, Tint *, Tint, Tfloat *) |
int | TelGetNormal (Tfloat *, Tfloat *, Tfloat *, Tfloat *) |
void | TelMultiplymat3 (Tmatrix3, Tmatrix3, Tmatrix3) |
#define matcpy | ( | d, | |
s | |||
) | { *((Tmatrix3Struct*)(d)) = *((Tmatrix3Struct*)(s)); } |
#define matdump | ( | m | ) |
#define shortrealfirst | ( | ) | (-3.e+38) |
#define shortreallast | ( | ) | (3.e+38) |
#define square | ( | a | ) | ((a)*(a)) |
#define vecadd | ( | a, | |
b, | |||
c | |||
) |
#define vecang | ( | a, | |
b, | |||
d | |||
) |
#define veccpy | ( | a, | |
b | |||
) | ((a)[0]=(b)[0],(a)[1]=(b)[1],(a)[2]=(b)[2]) |
#define veccrs | ( | a, | |
b, | |||
c | |||
) |
#define vecdot | ( | a, | |
b | |||
) | ((a)[0]*(b)[0]+(a)[1]*(b)[1]+(a)[2]*(b)[2]) |
#define vecgnd | ( | a, | |
b, | |||
c, | |||
d | |||
) |
#define vecmag | ( | a | ) | (std::sqrt((double)vecmg2(a))) |
#define vecnrmd | ( | a, | |
d | |||
) |
#define vecscl | ( | a, | |
b | |||
) | { (b)[0] *= (a); (b)[1] *= (a); (b)[2] *= (a); } |
#define vecsub | ( | a, | |
b, | |||
c | |||
) |