Tolerances
[libbn (numerical functions)]

Collaboration diagram for Tolerances:


Data Structures

struct  bn_tol
 Support for uniform tolerances. More...

Defines

#define BN_TOL_MAGIC   0x98c734bb
#define BN_CK_TOL(_p)   BU_CKMAG(_p, BN_TOL_MAGIC, "bn_tol")
#define BN_VECT_ARE_PARALLEL(_dot, _tol)   (((_dot) < 0) ? ((-(_dot))>=(_tol)->para) : ((_dot) >= (_tol)->para))
#define BN_VECT_ARE_PERP(_dot, _tol)   (((_dot) < 0) ? ((-(_dot))<=(_tol)->perp) : ((_dot) <= (_tol)->perp))
#define BN_APPROXEQUAL(_a, _b, _tol)   (fabs( (_a) - (_b) ) <= _tol->dist)

Define Documentation

#define BN_TOL_MAGIC   0x98c734bb
 

Definition at line 144 of file bn.h.

Referenced by bn_math_cmd(), bu_identify_magic(), classify_sketch_loops(), nmg_dangling_face(), nmg_do_radial_flips(), rt_arb_describe(), rt_nmg_import(), rt_nmg_import5(), wdb_dbopen(), and wdb_init_obj().

#define BN_CK_TOL _p   )     BU_CKMAG(_p, BN_TOL_MAGIC, "bn_tol")
 

Definition at line 145 of file bn.h.

Referenced by bn_2line3_colinear(), bn_3pts_distinct(), bn_between(), bn_coplanar(), bn_dist_pt2_lseg2(), bn_dist_pt3_lseg3(), bn_distsq_pt3_lseg3(), bn_isect_line2_line2(), bn_isect_line2_lseg2(), bn_isect_line3_line3(), bn_isect_line3_plane(), bn_isect_line_lseg(), bn_isect_lseg2_lseg2(), bn_isect_lseg3_lseg3(), bn_isect_pt2_lseg2(), bn_isect_pt_lseg(), bn_mat_is_equal(), bn_mk_plane_3pts(), bn_pt2_pt2_equal(), bn_pt3_pt3_equal(), nmg_2edgeuse_g_coincident(), nmg_assess_eu(), nmg_bad_face_normals(), nmg_boolean(), nmg_booltree_evaluate(), nmg_booltree_leaf_tess(), nmg_booltree_leaf_tnurb(), nmg_bot(), nmg_break_all_es_on_v(), nmg_break_crossed_loops(), nmg_break_edge_at_verts(), nmg_break_edges(), nmg_break_eg_on_v(), nmg_break_long_edges(), nmg_check_closed_shell(), nmg_check_radial(), nmg_check_radial_angles(), nmg_ck_closed_region(), nmg_ck_closed_surf(), nmg_ck_eg_verts(), nmg_ck_fg_verts(), nmg_ck_fu_verts(), nmg_ck_geometry(), nmg_ck_v_in_2fus(), nmg_ck_vert_on_fus(), nmg_ck_vs_in_region(), nmg_class_lu_fu(), nmg_class_pt_euvu(), nmg_class_pt_fu_except(), nmg_class_pt_s(), nmg_class_ray_vs_shell(), nmg_class_shells(), nmg_classify_lu_lu(), nmg_classify_pt_loop(), nmg_close_shell(), nmg_cnurb_is_on_crv(), nmg_cnurb_lseg_coincident(), nmg_common_v_2eg(), nmg_complex_vertex_solve(), nmg_crackshells(), nmg_decompose_shell(), nmg_do_radial_join(), nmg_dup_shell(), nmg_ebreaker(), nmg_edge_collapse(), nmg_edgeuse_on_line_tabulate(), nmg_eu_2s_orient_bad(), nmg_eu_2vecs_perp(), nmg_eu_radial_check(), nmg_eval_action(), nmg_eval_linear_trim_to_tol(), nmg_eval_trim_to_tol(), nmg_evaluate_boolean(), nmg_extrude_cleanup(), nmg_extrude_face(), nmg_extrude_shell(), nmg_face_bb(), nmg_face_combineX(), nmg_face_cutjoin(), nmg_face_next_vu_interval(), nmg_face_rs_init(), nmg_face_state_transition(), nmg_faces_can_be_intersected(), nmg_fcut_face(), nmg_fcut_face_2d(), nmg_find_e_nearest_pt2(), nmg_find_edge_between_2fu(), nmg_find_eg_between_2fg(), nmg_find_eg_on_line(), nmg_find_isect_faces(), nmg_find_outer_and_void_shells(), nmg_find_pt_in_face(), nmg_find_pt_in_model(), nmg_find_pt_in_shell(), nmg_fix_decomposed_shell_normals(), nmg_fix_normals(), nmg_fu_planeeqn(), nmg_get_interior_pt(), nmg_glue_face_in_shell(), nmg_hollow_shell(), nmg_in_vert(), nmg_insert_vu_if_on_edge(), nmg_intersect_loops_self(), nmg_invert_shell(), nmg_is_crack_outie(), nmg_is_eu_on_line3(), nmg_isect_eu_eu(), nmg_isect_eu_verts(), nmg_isect_shell_self(), nmg_isect_two_generic_faces(), nmg_js(), nmg_kill_anti_loops(), nmg_loop_g(), nmg_loop_split_at_touching_jaunt(), nmg_lu_is_convex(), nmg_make_dualvu(), nmg_make_faces_at_vert(), nmg_make_faces_within_tol(), nmg_merge_regions(), nmg_mesh_face_shell(), nmg_mesh_faces(), nmg_mesh_shell_shell(), nmg_mesh_two_faces(), nmg_model_break_e_on_v(), nmg_model_edge_fuse(), nmg_model_edge_g_fuse(), nmg_model_face_fuse(), nmg_model_fuse(), nmg_model_vertex_fuse(), nmg_move_edge_thru_pt(), nmg_open_shells_connect(), nmg_pick_best_edge_g(), nmg_pl_edges_in_2_shells(), nmg_pl_isect(), nmg_plot_lu_around_eu(), nmg_pr_fu_around_eu(), nmg_pr_fu_around_eu_vecs(), nmg_pr_radial_list(), nmg_propagate_normals(), nmg_purge_unwanted_intersection_points(), nmg_r_radial_check(), nmg_radial_build_list(), nmg_radial_check_parity(), nmg_radial_exchange_marked(), nmg_radial_implement_decisions(), nmg_radial_join_eu(), nmg_radial_join_eu_NEW(), nmg_radial_mark_cracks(), nmg_radial_mark_flips(), nmg_radial_merge_lists(), nmg_radial_verify_monotone(), nmg_radial_verify_pointers(), nmg_rebound(), nmg_region_a(), nmg_region_v_unique(), nmg_repair_v_near_v(), nmg_reverse_face_and_radials(), nmg_reverse_radials(), nmg_rm_redundancies(), nmg_s_join_touchingloops(), nmg_s_radial_check(), nmg_s_radial_harmonize(), nmg_s_split_touchingloops(), nmg_search_v_eg(), nmg_shell_a(), nmg_simplify_shell_edges(), nmg_snurb_is_planar(), nmg_split_linear_trim(), nmg_split_loops_into_faces(), nmg_split_touchingloops(), nmg_split_trim(), nmg_to_poly(), nmg_to_tgc(), nmg_triangulate_fu(), nmg_triangulate_model(), nmg_triangulate_shell(), nmg_two_face_fuse(), nmg_vlblock_around_eu(), nmg_vlblock_euleft(), rt_arb_calc_planes(), rt_arb_get_cgtype(), rt_arb_std_type(), rt_arc2d_to_cnurb(), rt_dist_line3_line3(), rt_dist_line3_lseg3(), rt_dist_pt3_line3(), rt_ebm_tess(), rt_ehy_prep(), rt_epa_prep(), rt_line_on_plane(), rt_nmg_import_internal(), rt_nurb_add_hit(), rt_pipe_tess(), rt_pr_tol(), rt_rhc_tess(), rt_rpc_prep(), rt_rpc_tess(), rt_submodel_wireframe_leaf(), rt_vol_tess(), tesselate_pipe_bend(), tesselate_pipe_end(), tesselate_pipe_linear(), and tesselate_pipe_start().

#define BN_VECT_ARE_PARALLEL _dot,
_tol   )     (((_dot) < 0) ? ((-(_dot))>=(_tol)->para) : ((_dot) >= (_tol)->para))
 

Definition at line 147 of file bn.h.

Referenced by rt_arbn_plot(), and rt_dist_line3_line3().

#define BN_VECT_ARE_PERP _dot,
_tol   )     (((_dot) < 0) ? ((-(_dot))<=(_tol)->perp) : ((_dot) <= (_tol)->perp))
 

Definition at line 149 of file bn.h.

#define BN_APPROXEQUAL _a,
_b,
_tol   )     (fabs( (_a) - (_b) ) <= _tol->dist)
 

Definition at line 152 of file bn.h.


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