Functions | |
static int | vm_V3Math::is_unit_vector (T_fp const v[], T_fp const tol) |
static int | vm_V3Math::are_orthogonal (T_fp const v[], T_fp const other[], T_fp const tol) |
static int | vm_V3Math::are_orthonormal (T_fp const v[], T_fp const other[], T_fp const tol) |
int vm_V3Math< T_fp >::are_orthogonal | ( | T_fp const | v[], | |
T_fp const | other[], | |||
T_fp const | tol | |||
) | [inline, static, inherited] |
Test whether a v is within tolerance tol of orthogonality to other vector
v | vector to be checked | |
other | other vector | |
tol | tolerance |
Definition at line 311 of file vm_v3math.h.
References vm_V3Math< T_fp >::dot().
Referenced by vm_V3Math< T_fp >::are_orthonormal().
int vm_V3Math< T_fp >::are_orthonormal | ( | T_fp const | v[], | |
T_fp const | other[], | |||
T_fp const | tol | |||
) | [inline, static, inherited] |
Test whether v is within tolerance tol of orthonormality with other vector
v | vector to be checked | |
other | other vector | |
tol | tolerance |
Definition at line 320 of file vm_v3math.h.
References vm_V3Math< T_fp >::are_orthogonal(), and vm_V3Math< T_fp >::is_unit_vector().
int vm_V3Math< T_fp >::is_unit_vector | ( | T_fp const | v[], | |
T_fp const | tol | |||
) | [inline, static, inherited] |
Test whether a vector is within tolerance tol of a unit vector
v | vector to be checked | |
tol | tolerance |
Definition at line 304 of file vm_v3math.h.
References vm_V3Math< T_fp >::dot().
Referenced by vm_V3Math< T_fp >::are_orthonormal().