BRL-CAD
nurbs_tests.cpp File Reference
#include "common.h"
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <limits>
#include <iomanip>
#include "brep.h"
#include "raytrace.h"
Include dependency graph for nurbs_tests.cpp:

Go to the source code of this file.

Functions

int get_surface (const char *name, struct db_i *dbip, struct rt_db_internal *intern, struct rt_brep_internal **brep_ip)
 
int nurbs_test (long int test_number, struct db_i *dbip)
 
int main (int argc, char **argv)
 

Function Documentation

int get_surface ( const char *  name,
struct db_i dbip,
struct rt_db_internal intern,
struct rt_brep_internal **  brep_ip 
)

Definition at line 14 of file nurbs_tests.cpp.

References bu_log(), db_lookup(), rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_db_get_internal(), RT_DIR_NULL, and rt_uniresource.

Referenced by nurbs_test().

Here is the call graph for this function:

int nurbs_test ( long int  test_number,
struct db_i dbip 
)

Definition at line 43 of file nurbs_tests.cpp.

References get_surface(), rt_db_free_internal(), RT_DB_INTERNAL_INIT, and surface_GetClosestPoint3dFirstOrder().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 93 of file nurbs_tests.cpp.

References bu_log(), db_dirbuild(), db_open(), DB_OPEN_READWRITE, DBI_NULL, and nurbs_test().

Here is the call graph for this function: