BRL-CAD
bot_sync.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "raytrace.h"
#include "./ged_private.h"
Include dependency graph for bot_sync.c:

Go to the source code of this file.

Functions

int ged_bot_sync (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The bot_sync command.

Definition in file bot_sync.c.

Function Documentation

int ged_bot_sync ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Sync the specified bot's orientation (i.e. make sure all neighboring triangles have same orientation).

Definition at line 38 of file bot_sync.c.

References bn_mat_identity, bu_basename(), bu_calloc(), bu_free(), BU_STR_EQUAL, bu_strdup, bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_DB_GET_INTERNAL, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_db_internal::idb_ptr, LOOKUP_QUIET, rt_bot_sync(), rt_db_free_internal(), RT_DIR_NULL, rt_uniresource, usage(), and rt_wdb::wdb_resp.

Here is the call graph for this function: