rfarb.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 rfarb.c:

Go to the source code of this file.


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

Detailed Description

The rfarb command.

Definition in file rfarb.c.

Function Documentation

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

Makes and arb given a point, 2 coord of 3 pts, rot, fb and thickness.

Definition at line 37 of file rfarb.c.

References BU_ALLOC, bu_vls_printf(), bu_vls_trunc(), db_diradd(), db_lookup(), db_i::dbi_local2base, 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_ARB8, LOOKUP_QUIET, OBJ, RT_ARB_INTERNAL_MAGIC, rt_db_free_internal(), RT_DB_INTERNAL_INIT, rt_db_put_internal(), RT_DIR_NULL, RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, usage(), VSET, X, Y, Z, and ZERO.

Here is the call graph for this function: