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

Go to the source code of this file.

Functions

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

Detailed Description

The fracture command.

Definition in file fracture.c.

Function Documentation

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

Given an NMG solid, break it up into several NMG solids, each containing a single shell with a single sub-element.

Definition at line 87 of file fracture.c.

References bn_mat_identity, BU_LIST_FIRST, BU_LIST_FOR, bu_strlcat, bu_strlcpy, bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, ID_NMG, rt_db_internal::idb_ptr, LOOKUP_NOISY, memset(), NMG_CK_SHELL(), nmg_count_shell_kids(), nmg_dup_face(), nmg_mm(), nmg_mrsv(), nmg_vertex_gv(), rt_db_free_internal(), rt_db_get_internal(), RT_DIR_NULL, rt_uniresource, s, usage(), and OSL::Strings::v.

Here is the call graph for this function: