cpi.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "rtgeom.h"
#include "./ged_private.h"
Include dependency graph for cpi.c:

Go to the source code of this file.


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

Detailed Description

The cpi command.

Definition in file cpi.c.

Function Documentation

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

Copy cylinder and position at end of original cylinder

Definition at line 38 of file cpi.c.

References bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_minor_type, db_diradd(), db_lookup(), 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, ID_TGC, LOOKUP_NOISY, LOOKUP_QUIET, rt_db_free_internal(), rt_db_get_internal(), rt_db_put_internal(), RT_DIR_NULL, RT_DIR_PHONY_ADDR, rt_uniresource, and usage().

Here is the call graph for this function: