#include "math.h"
#include "misc.h"
Go to the source code of this file.
|
void | normcrossprod (double *v1, double *v2, double *norm) |
|
double | pointdistance (Coord3i &p1, Coord3i &p2, const double spacing[3]) |
|
int | transWorldToImage (Coord3d loc_world, int *loc_img, double *origin, int *dims, double voxelsize) |
|
int | transWorldToImage (double *loc_world, int *loc_img, double *origin, int *dims, double voxelsize) |
|
double | vec_length (Coord3d x) |
|
double | vec_length (double *x) |
|
double | vec_length (double *x, double *y) |
|
double | vectorangle (double *v1, double *v2) |
|
double | vectorangle (Coord3d v1, Coord3d v2) |
|
◆ normcrossprod()
void normcrossprod |
( |
double * |
v1, |
|
|
double * |
v2, |
|
|
double * |
norm |
|
) |
| |
|
inline |
◆ pointdistance()
double pointdistance |
( |
Coord3i & |
p1, |
|
|
Coord3i & |
p2, |
|
|
const double |
spacing[3] |
|
) |
| |
|
inline |
◆ transWorldToImage() [1/2]
int transWorldToImage |
( |
Coord3d |
loc_world, |
|
|
int * |
loc_img, |
|
|
double * |
origin, |
|
|
int * |
dims, |
|
|
double |
voxelsize |
|
) |
| |
|
inline |
◆ transWorldToImage() [2/2]
int transWorldToImage |
( |
double * |
loc_world, |
|
|
int * |
loc_img, |
|
|
double * |
origin, |
|
|
int * |
dims, |
|
|
double |
voxelsize |
|
) |
| |
|
inline |
◆ vec_length() [1/3]
◆ vec_length() [2/3]
double vec_length |
( |
double * |
x | ) |
|
|
inline |
◆ vec_length() [3/3]
double vec_length |
( |
double * |
x, |
|
|
double * |
y |
|
) |
| |
|
inline |
◆ vectorangle() [1/2]
double vectorangle |
( |
double * |
v1, |
|
|
double * |
v2 |
|
) |
| |
|
inline |
◆ vectorangle() [2/2]