zap.c File Reference
#include "common.h"
#include <stdlib.h>
#include "./ged_private.h"
Include dependency graph for zap.c:

Go to the source code of this file.


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

Detailed Description

The zap command.

Definition in file zap.c.

Function Documentation

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

Erase all currently displayed geometry

Definition at line 42 of file zap.c.

References bu_vls_printf(), bu_vls_trunc(), rt_wdb::dbip, dl_zap(), ged::freesolid, ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, ged::ged_free_vlist_callback, ged::ged_gdp, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Referenced by ged_blast(), ged_cm_end(), ged_loadview(), and ged_reopen().

Here is the call graph for this function: