BRL-CAD
tra.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for tra.c:

Go to the source code of this file.

Functions

int ged_tra_args (struct ged *gedp, int argc, const char *argv[], char *coord, vect_t tvec)
 
int ged_tra (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The tra command.

Definition in file tra.c.

Function Documentation

int ged_tra_args ( struct ged gedp,
int  argc,
const char *  argv[],
char *  coord,
vect_t  tvec 
)

Translate the view.

Definition at line 36 of file tra.c.

References bn_decode_vect(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, bview::gv_coord, usage(), X, Y, and Z.

Referenced by ged_tra().

Here is the call graph for this function:

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

Definition at line 98 of file tra.c.

References _ged_do_tra(), GED_OK, and ged_tra_args().

Referenced by to_mouse_constrain_trans(), and to_mouse_trans().

Here is the call graph for this function: