BRL-CAD
move_arb_edge.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "rtgeom.h"
#include "rt/arb_edit.h"
#include "raytrace.h"
#include "./ged_private.h"
Include dependency graph for move_arb_edge.c:

Go to the source code of this file.

Functions

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

Detailed Description

The move_arb_edge command.

Definition in file move_arb_edge.c.

Function Documentation

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

Find the arb edge nearest the specified point in view coordinates.

Definition at line 236 of file move_arb_edge.c.

References bu_sscanf(), 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, ged::ged_wdbp, bview::gv_model2view, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_arb_find_e_nearest_pt2(), rt_db_free_internal(), usage(), wdb_import_from_path2(), X, Y, and Z.

Referenced by to_mouse_find_arb_edge().

Here is the call graph for this function: