Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mi.H File Reference

#include "std/run_avg.H"
#include "mesh/bfilters.H"
#include "mesh/lmesh.H"

Include dependency graph for mi.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Wvec get_norm (CBsimplex *s, bool debug=false)
double avg_edge_len (Bface *f)
double avg_face_edge_len (CBedge *e)
double avg_strong_len (CBvert *v)
Wvec weighted_vnorm (CBface *f, CBvert *v)
double norm_angle (CBedge *e)
Wvec vert_normal (CBvert *v, CBface *f, CSimplexFilter &filter)
Bface * rewind_cw (CBvert *v, CBface *start, CSimplexFilter &filter)
Bface_list leading_faces (CBvert *v, CSimplexFilter &filter)
Bface * lookup_quad (Bvert *v1, Bvert *v2, Bvert *v3)
Bface * lookup_quad (Bvert *v1, Bvert *v2, Bvert *v3, Bvert *v4)
Bedge * get_quad_weak_edge (Bvert *v1, Bvert *v2, Bvert *v3, Bvert *v4)
double avg_strong_edge_len (CBface *f)
void set_adjacent_edges (CBvert_list &verts, uchar b)
double avg_strong_edge_len (CBedge_list &edges)
bool is_maximal (CBedge_list &edges)
double log2 (double x)


Function Documentation

double avg_edge_len (  Bface *  f  )  [inline]
 

Definition at line 30 of file mi.H.

References Bface::e1(), Bface::e2(), Bface::e3(), and Bedge::length().

Referenced by avg_face_edge_len().

double avg_face_edge_len (  CBedge *  e  )  [inline]
 

Definition at line 37 of file mi.H.

References RunningAvg< T >::add(), avg_edge_len(), Bedge::f1(), Bedge::f2(), Bedge::is_polyline(), Bface::is_quad(), Bedge::length(), Bface::quad_avg_dim(), and RunningAvg< T >::val().

double avg_strong_edge_len (  CBedge_list &  edges  )  [inline]
 

Definition at line 195 of file mi.H.

References Bedge_list::avg_len(), and SimplexArray< L, T >::filter().

double avg_strong_edge_len (  CBface *  f  )  [inline]
 

Definition at line 168 of file mi.H.

References RunningAvg< T >::add(), Bface::e1(), Bface::e2(), Bface::e3(), Bedge::is_strong(), Bedge::length(), and RunningAvg< T >::val().

double avg_strong_len (  CBvert *  v  )  [inline]
 

Definition at line 55 of file mi.H.

References RunningAvg< T >::add(), Bvert::e(), Bedge::length(), and RunningAvg< T >::val().

Wvec get_norm (  CBsimplex *  s,
bool  debug = false
)  [inline]
 

Definition at line 18 of file mi.H.

References is_edge(), is_face(), and is_vert().

Referenced by Lvert::detail_loc_from_parent(), Lvert::fit_subdiv_offset(), and Lvert::set_subdiv_base_loc().

Bedge* get_quad_weak_edge (  Bvert *  v1,
Bvert *  v2,
Bvert *  v3,
Bvert *  v4
)  [inline]
 

Definition at line 161 of file mi.H.

References lookup_quad(), and Bface::weak_edge().

bool is_maximal (  CBedge_list &  edges  )  [inline]
 

Definition at line 201 of file mi.H.

References SimplexArray< L, T >::all_satisfy(), Bvert_list::clear_flag02(), Bedge_list::get_verts(), and SimplexArray< L, T >::set_flags().

Bface_list leading_faces (  CBvert *  v,
CSimplexFilter &  filter
) 
 

Definition at line 4 of file mi.C.

References SimplexFilter::accept(), Bedge::ccw_face(), Bvert::e(), ARRAY< T >::empty(), Bvert::get_face(), and Bedge::is_border().

double log2 (  double  x  )  [inline]
 

Definition at line 220 of file mi.H.

Bface* lookup_quad (  Bvert *  v1,
Bvert *  v2,
Bvert *  v3,
Bvert *  v4
)  [inline]
 

Definition at line 144 of file mi.H.

References lookup_quad(), and Bface::quad_vert().

Bface* lookup_quad (  Bvert *  v1,
Bvert *  v2,
Bvert *  v3
)  [inline]
 

Definition at line 135 of file mi.H.

References Bface::is_quad(), and lookup_face().

Referenced by get_quad_weak_edge(), and lookup_quad().

double norm_angle (  CBedge *  e  )  [inline]
 

Definition at line 94 of file mi.H.

References Bedge::f1(), Bedge::f2(), Bedge::nfaces(), and Bface::norm().

Bface* rewind_cw (  CBvert *  v,
CBface *  start,
CSimplexFilter &  filter
)  [inline]
 

Definition at line 108 of file mi.H.

References SimplexFilter::accept(), Bface::contains(), Bvert::degree(), Bface::edge_from_vert(), and Bedge::other_face().

Referenced by vert_normal().

void set_adjacent_edges (  CBvert_list &  verts,
uchar  b
)  [inline]
 

Definition at line 185 of file mi.H.

References ARRAY< T >::num(), and SimplexArray< L, T >::set_flags().

Referenced by EdgeStrip::build_ccw_boundaries(), and EdgeStrip::build_with_tips().

Wvec vert_normal (  CBvert *  v,
CBface *  f,
CSimplexFilter &  filter
) 
 

Definition at line 31 of file mi.C.

References SimplexFilter::accept(), Bface::contains(), Bvert::degree(), Bface::edge_before_vert(), Bvert::norm(), mlib::Vec3< V >::normalized(), Bedge::other_face(), rewind_cw(), and weighted_vnorm().

Wvec weighted_vnorm (  CBface *  f,
CBvert *  v
)  [inline]
 

Definition at line 74 of file mi.H.

References Bface::area(), Bface::contains(), Bvert::loc(), next_vert_ccw(), and Bface::norm().

Referenced by vert_normal(), and Bface::vert_normal().


Generated on Mon Sep 18 11:42:11 2006 for jot by  doxygen 1.4.4