BRL-CAD
bn_qmath.c File Reference
#include "common.h"
#include <stdio.h>
#include "vmath.h"
#include "bn/tol.h"
#include "bn/qmath.h"
#include "bu/log.h"
Include dependency graph for bn_qmath.c:

Go to the source code of this file.

Functions

int test_quat_mat2quat (int argc, const char *argv[])
 
int test_quat_quat2mat (int argc, const char *argv[])
 
int test_quat_distance (int argc, const char *argv[])
 
int test_quat_double (int argc, const char *argv[])
 
int test_quat_bisect (int argc, const char *argv[])
 
int test_quat_slerp (int argc, const char *argv[])
 
int test_quat_sberp (int argc, const char *argv[])
 
int test_quat_make_nearest (int argc, const char *argv[])
 
int test_quat_exp (int argc, const char *argv[])
 
int test_quat_log (int argc, const char *argv[])
 
int main (int argc, const char *argv[])
 

Function Documentation

int test_quat_mat2quat ( int  argc,
const char *  argv[] 
)

Definition at line 31 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_mat2quat(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_quat2mat ( int  argc,
const char *  argv[] 
)

Definition at line 48 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_quat2mat(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_distance ( int  argc,
const char *  argv[] 
)

Definition at line 69 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), bu_sscanf(), quat_distance(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_double ( int  argc,
const char *  argv[] 
)

Definition at line 86 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_double(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_bisect ( int  argc,
const char *  argv[] 
)

Definition at line 103 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_bisect(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_slerp ( int  argc,
const char *  argv[] 
)

Definition at line 120 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), bu_sscanf(), quat_slerp(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_sberp ( int  argc,
const char *  argv[] 
)

Definition at line 139 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), bu_sscanf(), quat_sberp(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_make_nearest ( int  argc,
const char *  argv[] 
)

Definition at line 160 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_make_nearest(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_exp ( int  argc,
const char *  argv[] 
)

Definition at line 176 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_exp(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int test_quat_log ( int  argc,
const char *  argv[] 
)

Definition at line 192 of file bn_qmath.c.

References BN_TOL_DIST, bu_exit(), bu_scan_fastf_t(), quat_log(), X, Y, and Z.

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
const char *  argv[] 
)

Definition at line 209 of file bn_qmath.c.

References bu_exit(), test_quat_bisect(), test_quat_distance(), test_quat_double(), test_quat_exp(), test_quat_log(), test_quat_make_nearest(), test_quat_mat2quat(), test_quat_quat2mat(), test_quat_sberp(), and test_quat_slerp().

Here is the call graph for this function: