![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions | |
int | rotZ_cart (double x, double y, double z, double ang, double *xx, double *yy, double *zz) |
Rotates a vector of cartesian coordinates along the Z axis. More... | |
int | rotY_cart (double x, double y, double z, double ang, double *xx, double *yy, double *zz) |
Rotates a vector of cartesian coordinates along the Y axis. More... | |
int | rotX_cart (double x, double y, double z, double ang, double *xx, double *yy, double *zz) |
Rotates a vector of cartesian coordinates along the X axis. More... | |
double | ang_one_two (double a1, double b1, double a2, double b2) |
Calculates the angle (in radians) from 2 vectors. More... | |
int | sphere (Bimage *p) |
int | mean_to_0 (Bimage *p) |
Set each value equal to old_value-(first image pixel) More... | |
Variables | |
int | verbose |
double ang_one_two | ( | double | a1, |
double | b1, | ||
double | a2, | ||
double | b2 | ||
) |
Calculates the angle (in radians) from 2 vectors.
a1 | first coordinate of first vector |
b1 | second coordinate of first vector |
a2 | first coordinate of second vector |
b2 | second coordinate of second vector |
int mean_to_0 | ( | Bimage * | p | ) |
Set each value equal to old_value-(first image pixel)
*p | image. |
int rotX_cart | ( | double | x, |
double | y, | ||
double | z, | ||
double | ang, | ||
double * | xx, | ||
double * | yy, | ||
double * | zz | ||
) |
Rotates a vector of cartesian coordinates along the X axis.
x | x coordinate of starting vector |
y | y coordinate of starting vector |
z | z coordinate of starting vector |
ang | rotation angle (in radiants) |
*xx | x coordinate of rotated vector |
*yy | y coordinate of rotated vector |
*zz | z coordinate of rotated vector |
int rotY_cart | ( | double | x, |
double | y, | ||
double | z, | ||
double | ang, | ||
double * | xx, | ||
double * | yy, | ||
double * | zz | ||
) |
Rotates a vector of cartesian coordinates along the Y axis.
x | x coordinate of starting vector |
y | y coordinate of starting vector |
z | z coordinate of starting vector |
ang | rotation angle (in radiants) |
*xx | x coordinate of rotated vector |
*yy | y coordinate of rotated vector |
*zz | z coordinate of rotated vector |
int rotZ_cart | ( | double | x, |
double | y, | ||
double | z, | ||
double | ang, | ||
double * | xx, | ||
double * | yy, | ||
double * | zz | ||
) |
Rotates a vector of cartesian coordinates along the Z axis.
x | x coordinate of starting vector |
y | y coordinate of starting vector |
z | z coordinate of starting vector |
ang | rotation angle (in radiants) |
*xx | x coordinate of rotated vector |
*yy | y coordinate of rotated vector |
*zz | z coordinate of rotated vector |
int sphere | ( | Bimage * | p | ) |
*p |
|
extern |