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

Go to the source code of this file.

Functions

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

Detailed Description

The region command.

Definition in file region.c.

Function Documentation

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

Create or append objects to a region

Definition at line 37 of file region.c.

References _ged_combadd(), bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_namep, db_lookup(), DB_OP_NULL, db_str2op(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_NOISY, LOOKUP_QUIET, RT_DIR_NULL, RT_DIR_REGION, usage(), rt_wdb::wdb_air_default, and rt_wdb::wdb_item_default.

Here is the call graph for this function: