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

Go to the source code of this file.

Functions

int ged_arot_args (struct ged *gedp, int argc, const char *argv[], mat_t rmat)
 
int ged_arot (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The arot command.

Definition in file arot.c.

Function Documentation

int ged_arot_args ( struct ged gedp,
int  argc,
const char *  argv[],
mat_t  rmat 
)

Rotate angle degrees about the specified axis

Definition at line 35 of file arot.c.

References bn_mat_arb_rot(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, usage(), VSETALL, X, Y, and Z.

Referenced by ged_arot().

Here is the call graph for this function:

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

Definition at line 91 of file arot.c.

References _ged_do_rot(), ged_arot_args(), ged::ged_gvp, GED_OK, and bview::gv_coord.

Here is the call graph for this function: