BRL-CAD
nmg_mirror.c File Reference
#include "common.h"
#include "raytrace.h"
#include "rtgeom.h"
Include dependency graph for nmg_mirror.c:

Go to the source code of this file.

Functions

int rt_nmg_mirror (struct rt_db_internal *ip, register const plane_t plane)
 

Detailed Description

mirror support

Definition in file nmg_mirror.c.

Function Documentation

int rt_nmg_mirror ( struct rt_db_internal ip,
register const plane_t  plane 
)

Given a pointer to an internal GED database object, mirror the object's values about the given transformation matrix.

Definition at line 37 of file nmg_mirror.c.

References bn_mat_arb_rot(), bn_mat_mul(), BN_TOL_MAGIC, BU_LIST_FOR, bu_log(), BU_PTBL_END, bu_ptbl_free(), BU_PTBL_GET, bu_ptbl_reset(), rt_db_internal::idb_ptr, nmg_calc_face_g(), NMG_FACE_G_PLANE_MAGIC, nmg_face_tabulate(), nmg_invert_shell(), nmg_rebound(), nmg_vertex_tabulate(), RT_CK_DB_INTERNAL, s, OSL::Strings::v, VSET, X, Y, and Z.

Referenced by rt_mirror().

Here is the call graph for this function: