BRL-CAD
facedef.c File Reference
#include "common.h"
#include <stdlib.h>
#include <math.h>
#include <signal.h>
#include "vmath.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "ged_private.h"
Include dependency graph for facedef.c:

Go to the source code of this file.

Functions

int edarb_facedef (void *data, int argc, const char *argv[])
 

Variables

char * p_rotfb []
 
char * p_3pts []
 
char * p_pleqn []
 
char * p_nupnt []
 

Function Documentation

int edarb_facedef ( void *  data,
int  argc,
const char *  argv[] 
)

Definition at line 173 of file facedef.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), GED_DB_GET_INTERNAL, GED_DB_LOOKUP, GED_DB_PUT_INTERNAL, GED_ERROR, GED_HELP, GED_MORE, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_ARB8, rt_db_internal::idb_ptr, LOOKUP_QUIET, p_3pts, p_nupnt, p_pleqn, p_rotfb, rt_arb_calc_planes(), rt_arb_calc_points(), rt_arb_std_type(), rt_db_free_internal(), rt_uniresource, usage(), and rt_wdb::wdb_tol.

Referenced by ged_edarb().

Here is the call graph for this function:

Variable Documentation

char* p_rotfb[]
Initial value:
= {
"Enter rot, fb angles: ",
"Enter fb angle: ",
"Enter fixed vertex(v#) or point(X Y Z): ",
"Enter Y, Z of point: ",
"Enter Z of point: "
}

Definition at line 37 of file facedef.c.

Referenced by edarb_facedef().

char* p_3pts[]
Initial value:
= {
"Enter X, Y, Z of point",
"Enter Y, Z of point",
"Enter Z of point"
}

Definition at line 46 of file facedef.c.

Referenced by edarb_facedef().

char* p_pleqn[]
Initial value:
= {
"Enter A, B, C, D of plane equation: ",
"Enter B, C, D of plane equation: ",
"Enter C, D of plane equation: ",
"Enter D of plane equation: "
}

Definition at line 53 of file facedef.c.

Referenced by edarb_facedef().

char* p_nupnt[]
Initial value:
= {
"Enter X, Y, Z of fixed point: ",
"Enter Y, Z of fixed point: ",
"Enter Z of fixed point: "
}

Definition at line 61 of file facedef.c.

Referenced by edarb_facedef().