BRL-CAD
3ptarb.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 3ptarb.c:

Go to the source code of this file.

Functions

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

Detailed Description

The 3ptarb command.

Definition in file 3ptarb.c.

Function Documentation

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

Creates an arb8 given the following: 1) 3 points of one face 2) coord x, y or z and 2 coordinates of the 4th point in that face 3) thickness

Definition at line 51 of file 3ptarb.c.

References BU_ALLOC, bu_free(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_local2base, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_EXISTS, GED_CHECK_READ_ONLY, GED_DB_DIRADD, GED_DB_PUT_INTERNAL, GED_ERROR, GED_MORE, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_ARB8, idb_type, LOOKUP_QUIET, OBJ, RT_ARB_INTERNAL_MAGIC, RT_DB_INTERNAL_INIT, RT_DIR_PHONY_ADDR, RT_DIR_SOLID, rt_uniresource, usage(), VSET, X, Y, Z, and ZERO.

Here is the call graph for this function: