BRL-CAD
units.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "bu/units.h"
#include "./ged_private.h"
Include dependency graph for units.c:

Go to the source code of this file.

Functions

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

Detailed Description

The units command.

Definition in file units.c.

Function Documentation

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

Set/get the database units

Definition at line 37 of file units.c.

References bu_free(), bu_mm_value(), BU_STR_EQUAL, bu_units_string(), bu_units_strings_vls(), bu_vls_addr(), bu_vls_free(), bu_vls_printf(), bu_vls_trunc(), db_update_ident(), db_i::dbi_base2local, db_i::dbi_local2base, db_i::dbi_title, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, and usage().

Here is the call graph for this function: