nmg_extrude.c File Reference

#include "common.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "machine.h"
#include "vmath.h"
#include "db.h"
#include "nmg.h"
#include "raytrace.h"
#include "rtgeom.h"
#include "./debug.h"

Include dependency graph for nmg_extrude.c:

Go to the source code of this file.

Defines

#define MIKE_TOL   0.0001

Functions

void nmg_translate_face (struct faceuse *fu, const fastf_t *Vec, const struct bn_tol *tol)
int nmg_extrude_face (struct faceuse *fu, const fastf_t *Vec, const struct bn_tol *tol)
vertexusenmg_find_vertex_in_lu (const struct vertex *v, const struct loopuse *lu)
void nmg_fix_overlapping_loops (struct shell *s, const struct bn_tol *tol)
void nmg_break_crossed_loops (struct shell *is, const struct bn_tol *tol)
shellnmg_extrude_cleanup (struct shell *is, const int is_void, const struct bn_tol *tol)
void nmg_hollow_shell (struct shell *s, const fastf_t thick, const int approximate, const struct bn_tol *tol)
shellnmg_extrude_shell (struct shell *s, const fastf_t dist, const int normal_ward, const int approximate, const struct bn_tol *tol)


Detailed Description

Routines for extruding nmg's.

Authors - Michael Markowski John R. Anderson

Source - The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA

Definition in file nmg_extrude.c.


Define Documentation

#define MIKE_TOL   0.0001
 

Referenced by nmg_extrude_face().


Function Documentation

void nmg_translate_face struct faceuse fu,
const fastf_t Vec,
const struct bn_tol tol
 

T r a n s l a t e _ N M G _ F a c e

Translate a face using a vector's magnitude and direction.

Definition at line 112 of file nmg_extrude.c.

References BU_LIST_FIRST_MAGIC, BU_LIST_FOR, bu_malloc(), bu_ptbl_init(), faceuse::lu_hd, NMG_CK_LOOPUSE, NMG_EDGEUSE_MAGIC, NULL, and VADD2.

Here is the call graph for this function:

int nmg_extrude_face struct faceuse fu,
const fastf_t Vec,
const struct bn_tol tol
 

N M G _ E x t r u d e _ F a c e

Duplicate a given NMG face, move it by specified vector, and create a solid bounded by these faces.

Definition at line 202 of file nmg_extrude.c.

References BN_CK_TOL, bu_calloc(), bu_free(), BU_LIST_FIRST_MAGIC, BU_LIST_FOR2, bu_log(), loopuse::down_hd, edgeuse::eumate_p, faceuse::fumate_p, faceuse::lu_hd, MIKE_TOL, NEAR_ZERO, nmg_calc_face_g(), nmg_cface(), NMG_CK_EDGEUSE, NMG_CK_FACEUSE, NMG_CK_LOOPUSE, nmg_dup_face(), NMG_EDGEUSE_MAGIC, NMG_GET_FU_PLANE, nmg_gluefaces(), nmg_reverse_face(), nmg_translate_face(), faceuse::orientation, OT_OPPOSITE, rt_bomb(), faceuse::s_p, vertexuse::v_p, VDOT, and edgeuse::vu_p.

Here is the call graph for this function:


Generated on Mon Sep 18 01:25:07 2006 for BRL-CAD by  doxygen 1.4.6