#include "common.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <errno.h>
#include "bu.h"
#include "vmath.h"
#include "bn.h"
Go to the source code of this file.
Defines | |
#define | USAGE "Usage: bntester [-l test_case_line_number] [-f function_number] -i input_file [-o output_file]\n" |
Functions | |
int | parse_case (char *buf_p, int *i, long *l, double *d, unsigned long *u, char *fmt_str, unsigned long line_num, FILE *stream) |
int | main (int argc, char **argv) |
#define USAGE "Usage: bntester [-l test_case_line_number] [-f function_number] -i input_file [-o output_file]\n" |
Definition at line 32 of file bntester.c.
Referenced by main().
int parse_case | ( | char * | buf_p, | |
int * | i, | |||
long * | l, | |||
double * | d, | |||
unsigned long * | u, | |||
char * | fmt_str, | |||
unsigned long | line_num, | |||
FILE * | stream | |||
) |
Definition at line 36 of file bntester.c.
Referenced by main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 138 of file bntester.c.
References bn_2line3_colinear(), bn_distsq_line3_pt3(), bn_isect_line3_line3(), bn_isect_lseg3_lseg3(), c, bn_tol::dist, bn_tol::dist_sq, bn_tol::magic, NEAR_EQUAL, bn_tol::para, parse_case(), bn_tol::perp, USAGE, and VUNITIZE_TOL.