Fixme


Files

file  brlcad.h
 Convenience header for the core BRL-CAD libraries.
file  common.h
 Header file for the BRL-CAD common definitions.
file  config_win.h
file  machine.h
 This header file defines all the fundamental data types (lower case names, created with "typedef") and fundamental manifest constants (upper case, created with "#define") used throughout the BRL-CAD Package. Virtually all other BRL-CAD header files depend on this header file being included first.

Defines

#define __BEGIN_DECLS
#define __END_DECLS
#define CONFIG_H   seen
#define MACHINE_H   seen
#define FOPEN_MAX   32
#define LOCAL   static
#define FAST   LOCAL
#define BITV_SHIFT   5
#define MAX_PSW   4
#define DEFAULT_PSW   bu_avail_cpus()
#define BIG_ENDIAN   1
#define BITV_MASK   ((1<<BITV_SHIFT)-1)
#define MAX_FASTF   1.0e73
#define SQRT_MAX_FASTF   1.0e36
#define SMALL_FASTF   1.0e-77
#define SQRT_SMALL_FASTF   1.0e-39
#define SMALL   SQRT_SMALL_FASTF
#define GENPTR_NULL   ((genptr_t)0)
#define BOOL_T   int
#define bzero(str, n)   memset( str, 0, n )
#define bcopy(from, to, count)   memcpy( to, from, count )
#define HIDDEN

Typedefs

typedef double fastf_t
typedef long bitv_t
typedef char * genptr_t

Define Documentation

#define __BEGIN_DECLS
 

Definition at line 65 of file common.h.

#define __END_DECLS
 

Definition at line 66 of file common.h.

#define CONFIG_H   seen
 

Definition at line 27 of file config_win.h.

#define MACHINE_H   seen
 

Definition at line 181 of file machine.h.

#define FOPEN_MAX   32
 

Definition at line 207 of file machine.h.

#define LOCAL   static
 

Definition at line 723 of file machine.h.

Referenced by bend_pipe_shot(), bn_dist_line2_point2(), bn_dist_line3_pt3(), bn_distsq_line2_point2(), bn_distsq_line3_pt3(), bn_isect_2planes(), bn_isect_line3_line3(), bn_isect_line_lseg(), bn_mat_ae(), bn_mat_angles(), bn_mat_angles_rad(), bn_mat_inverse(), bn_poly_add(), bn_poly_cubic_roots(), bn_poly_quadratic_roots(), bn_poly_quartic_roots(), bn_poly_sub(), bn_vec_perp(), linear_pipe_shot(), rt_arb_add_pt(), rt_arb_import(), rt_arb_mk_planes(), rt_arb_setup(), rt_arb_shot(), rt_arb_tess(), rt_arb_tnurb(), rt_arb_uv(), rt_arbn_shot(), rt_arbn_tess(), rt_ars_import(), rt_ars_prep(), rt_ars_rd_curve(), rt_ars_shot(), rt_ars_uv(), rt_bend_pipe_prep(), rt_boolfinal(), rt_boolweave(), rt_bot_import(), rt_bot_plot(), rt_bot_plot_poly(), rt_bot_tess(), rt_cline_import(), rt_cline_plot(), rt_default_multioverlap(), rt_dsp_import(), rt_dsp_tess(), rt_ebm_plate(), rt_ehy_import(), rt_ehy_import5(), rt_ehy_plot(), rt_ehy_prep(), rt_ehy_shot(), rt_ehy_tess(), rt_ehy_uv(), rt_ell_import(), rt_ell_norm(), rt_ell_prep(), rt_ell_shot(), rt_ell_tess(), rt_ell_tnurb(), rt_ell_uv(), rt_ell_vshot(), rt_epa_import(), rt_epa_import5(), rt_epa_plot(), rt_epa_prep(), rt_epa_shot(), rt_epa_tess(), rt_epa_uv(), rt_eto_norm(), rt_eto_prep(), rt_eto_shot(), rt_extrude_import(), rt_extrude_import5(), rt_extrude_plot(), rt_extrude_prep(), rt_hf_import(), rt_hf_plot(), rt_hf_shot(), rt_hf_tess(), rt_hitsort(), rt_hlf_shot(), rt_hlf_uv(), rt_hlf_vshot(), rt_linear_pipe_prep(), rt_nmg_plot(), rt_nmg_tess(), rt_part_shot(), rt_part_tess(), rt_pg_prep(), rt_pg_shot(), rt_pg_to_bot(), rt_pgface(), rt_pipe_norm(), rt_pipe_plot(), rt_pipe_shot(), rt_poly_deflate(), rt_poly_findroot(), rt_poly_roots(), rt_rec_prep(), rt_rec_shot(), rt_rec_uv(), rt_rec_vshot(), rt_rhc_import(), rt_rhc_import5(), rt_rhc_plot(), rt_rhc_prep(), rt_rhc_shot(), rt_rhc_tess(), rt_rhc_uv(), rt_rpc_import(), rt_rpc_plot(), rt_rpc_prep(), rt_rpc_shot(), rt_rpc_tess(), rt_rpc_uv(), rt_shoot_many_rays_worker(), rt_sketch_import(), rt_sketch_import5(), rt_sketch_plot(), rt_sph_prep(), rt_sph_shot(), rt_sph_uv(), rt_sph_vshot(), rt_submodel_import(), rt_submodel_import5(), rt_submodel_plot(), rt_submodel_tess(), rt_superell_import(), rt_superell_norm(), rt_superell_prep(), rt_superell_shot(), rt_tgc_import(), rt_tgc_norm(), rt_tgc_plot(), rt_tgc_prep(), rt_tgc_shot(), rt_tgc_tnurb(), rt_tgc_uv(), rt_tgc_vshot(), rt_tor_import(), rt_tor_import5(), rt_tor_norm(), rt_tor_prep(), rt_tor_shot(), rt_tor_uv(), rt_tor_vshot(), rt_vol_plate(), rt_xxx_import(), rt_xxx_import5(), rt_xxx_plot(), rt_xxx_tess(), and XGLUE().

#define FAST   LOCAL
 

Definition at line 724 of file machine.h.

Referenced by bn_cx_div(), bn_cx_sqrt(), bn_mat_det3(), bn_mat_inverse(), bn_poly_cubic_roots(), bn_tabdata_area1(), bn_tabdata_area2(), bn_tabdata_mul_area1(), bn_tabdata_mul_area2(), bn_tabdata_to_tcl(), bn_vec_ortho(), nmg_ck_fu_verts(), nmg_loop_g(), nmg_snurb_to_vlist(), quat_exp(), quat_log(), quat_mat2quat(), rt_arb_add_pt(), rt_arb_shot(), rt_arb_vshot(), rt_arbn_shot(), rt_ars_shot(), rt_boolweave(), rt_cell_n_on_ray(), rt_DB_rpp(), rt_ehy_shot(), rt_ehy_uv(), rt_ell_shot(), rt_ell_vshot(), rt_epa_shot(), rt_epa_uv(), rt_eto_norm(), rt_eto_prep(), rt_fdiff(), rt_hf_shot(), rt_hlf_norm(), rt_hlf_shot(), rt_hlf_uv(), rt_hlf_vshot(), rt_in_rpp(), rt_part_norm(), rt_part_shot(), rt_pg_shot(), rt_poly_findroot(), rt_pt_sort(), rt_rec_shot(), rt_rec_uv(), rt_rec_vshot(), rt_reldiff(), rt_rhc_shot(), rt_rhc_uv(), rt_rpc_shot(), rt_rpc_uv(), rt_shootray(), rt_shootray_bundle(), rt_sph_shot(), rt_sph_vshot(), rt_tgc_norm(), rt_tgc_uv(), rt_tor_norm(), rt_tor_prep(), and rt_weave0seg().

#define BITV_SHIFT   5
 

Definition at line 726 of file machine.h.

Referenced by rt_prep_parallel().

#define MAX_PSW   4
 

Definition at line 728 of file machine.h.

Referenced by rt_booleval(), rt_init_resource(), and rt_shoot_many_rays_worker().

#define DEFAULT_PSW   bu_avail_cpus()
 

Definition at line 729 of file machine.h.

Referenced by bu_avail_cpus().

#define BIG_ENDIAN   1
 

Definition at line 743 of file machine.h.

#define BITV_MASK   ((1<<BITV_SHIFT)-1)
 

Definition at line 747 of file machine.h.

#define MAX_FASTF   1.0e73
 

Definition at line 762 of file machine.h.

Referenced by bn_isect_lseg_rpp(), bn_tabdata_to_tcl(), fix_halfs(), nmg_calc_face_plane(), nmg_classify_pt_loop(), nmg_edge_collapse(), nmg_enlist_one_vu(), nmg_enlist_vu(), nmg_face_bb(), nmg_find_top_face_in_dir(), nmg_insure_radial_list_is_increasing(), nmg_isect_2colinear_edge2p(), nmg_isect_edge2p_edge2p(), nmg_isect_line2_edge2p(), nmg_isect_line2_face2pNEW(), nmg_isect_line2_vertex2(), nmg_isect_two_generic_faces(), nmg_isect_vert2p_face2p(), nmg_loop_plane_newell(), nmg_model_bb(), nmg_region_a(), nmg_shell_a(), nmg_to_tgc(), nmg_unlist_v(), nurb_c_to_bezier(), rt_bot_find_e_nearest_pt2(), rt_bot_find_v_nearest_pt2(), rt_cline_prep(), rt_ct_old_assess(), rt_extrude_shot(), rt_fastgen_vol_vol_overlap(), rt_nmg_prep(), rt_split_mostly_empty_cells(), rt_tgc_tess(), wdb_get_obj_bounds2(), and XGLUE().

#define SQRT_MAX_FASTF   1.0e36
 

Definition at line 763 of file machine.h.

Referenced by bn_poly_cubic_roots().

#define SMALL_FASTF   1.0e-77
 

Definition at line 764 of file machine.h.

Referenced by bn_2line3_colinear(), bn_dist_line2_point2(), bn_dist_line3_pt3(), bn_dist_line_origin(), bn_distsq_line2_point2(), bn_distsq_line3_line3(), bn_distsq_line3_pt3(), bn_does_ray_isect_tri(), bn_htov_move(), bn_isect_line3_line3(), bn_isect_line3_plane(), bn_isect_lseg3_lseg3(), bn_mk_plane_3pts(), bn_mkpoint_3planes(), get_seg_midpoint(), isect_line2_ellipse(), nmg_assess_eu(), nmg_edge_g(), nmg_faces_can_be_intersected(), nmg_is_crack_outie(), nmg_isect_eu_fu(), nmg_loop_plane_area(), nmg_snurb_is_planar(), nmg_vlist_to_wire_edges(), pipe_end_shot(), pipe_start_shot(), project_pt(), rt_bot_decimate(), rt_dsp_uv(), rt_ehy_import(), rt_ehy_import5(), rt_ell_norms(), rt_epa_import(), rt_epa_import5(), rt_extrude_shot(), rt_rhc_import(), rt_rhc_import5(), rt_rpc_import(), rt_rpc_import5(), rt_tgc_shot(), seg_to_vlist(), vo_sca(), vo_size_cmd(), and vo_zoom().

#define SQRT_SMALL_FASTF   1.0e-39
 

Definition at line 768 of file machine.h.

Referenced by bn_cx_div(), bn_isect_lseg_rpp(), bn_poly_quadratic_roots(), dgo_autoview(), dgo_get_autoview_cmd(), dgo_qray_data_to_vlist(), inverse_dir(), nmg_class_ray_vs_shell(), nmg_is_crack_outie(), nmg_move_edge_thru_pt(), rt_arb_add_pt(), rt_arb_shot(), rt_arbn_shot(), rt_cell_n_on_ray(), rt_ebm_dda(), rt_nmg_shot(), rt_nurb_crv_flat(), rt_nurb_shot(), rt_pg_shot(), rt_pipe_ck(), rt_pipe_plot(), rt_pipe_prep(), rt_pipe_tess(), rt_seg_planeclip(), rt_shootray(), rt_shootray_bundle(), rt_smooth_bot(), rt_tor_export(), rt_vol_shot(), and shoot_and_plot().

#define SMALL   SQRT_SMALL_FASTF
 

Definition at line 771 of file machine.h.

Referenced by bn_mat_scale_about_pt(), bn_vec_ortho(), db_parse_1anim(), rt_epa_shot(), rt_eto_import(), rt_eto_import5(), rt_grp_import(), rt_grp_import5(), rt_hlf_import(), rt_hlf_import5(), rt_hlf_xform(), rt_num_circular_segments(), rt_nurb_c_bound(), rt_nurb_kvnorm(), rt_nurb_s_bound(), rt_part_prep(), rt_part_shot(), rt_poly_deflate(), rt_poly_roots(), rt_rec_prep(), rt_rec_shot(), rt_rec_vshot(), rt_rhc_shot(), rt_tgc_prep(), rt_tor_import(), tp_3axis(), and tp_3vector().

#define GENPTR_NULL   ((genptr_t)0)
 

Definition at line 785 of file machine.h.

Referenced by bu_free_external(), bu_hook_list_init(), rt_binunif_free(), rt_binunif_ifree(), rt_bot_ifree(), rt_cline_ifree(), rt_comb_ifree(), rt_dsp_ifree(), rt_ebm_ifree(), rt_ehy_ifree(), rt_ell_ifree(), rt_epa_ifree(), rt_eto_ifree(), rt_extrude_ifree(), rt_grp_ifree(), rt_hf_ifree(), rt_hlf_ifree(), rt_metaball_ifree(), rt_nmg_ifree(), rt_nmg_tess(), rt_part_free(), rt_part_ifree(), rt_pipe_ifree(), rt_rhc_ifree(), rt_rpc_ifree(), rt_sketch_ifree(), rt_submodel_ifree(), rt_superell_ifree(), rt_tgc_ifree(), rt_tor_ifree(), rt_vol_ifree(), and rt_xxx_ifree().

#define BOOL_T   int
 

Definition at line 791 of file machine.h.

#define bzero str,
 )     memset( str, 0, n )
 

provide bzero and bcopy

Definition at line 798 of file machine.h.

Referenced by bu_parallel(), classify_seg(), db_free_combined_tree_state(), db_fwrite_ident(), db_init_db_tree_state(), db_zapper(), nmg_face_rs_init(), nmg_m_struct_count(), nmg_offset_eu_vert(), nmg_show_broken_classifier_stuff(), rt_arb_tess(), rt_arb_tnurb(), rt_comb_export5(), rt_hf_shot(), rt_htbl_free(), rt_nmg_export5(), rt_nmg_export_internal(), rt_shootray(), shoot_and_plot(), and spm_init().

#define bcopy from,
to,
count   )     memcpy( to, from, count )
 

Definition at line 799 of file machine.h.

Referenced by bn_mat_dup(), bn_tabdata_copy(), bn_tabdata_dup(), bu_copy_external(), bu_cv_w_cookie(), bu_ptbl_cat(), bu_struct_export(), bu_struct_import(), bu_vls_strcat(), bu_vls_strcpy(), bu_vls_strncat(), bu_vls_strncpy(), bu_vls_vlscat(), db5_export_object3(), db5_get_raw_internal_fp(), db5_write_free(), db_append_full_path(), db_dup_full_path(), db_dup_path_tail(), db_get(), db_get_external(), db_getmrec(), db_put(), db_put_external(), db_put_external5(), htond(), htonf(), nmg_dup_face(), nmg_shell_coplanar_face_merge(), ntohd(), ntohf(), rt_arb_setup(), rt_binunif_export5(), rt_binunif_import5(), rt_comb_v5_serialize(), rt_db_put_internal5(), rt_ebm_import(), rt_ebm_import5(), rt_nurb_cinterp(), and rt_prealloc().

#define HIDDEN
 

Definition at line 808 of file machine.h.


Typedef Documentation

typedef double fastf_t
 

Definition at line 722 of file machine.h.

typedef long bitv_t
 

Definition at line 725 of file machine.h.

typedef char* genptr_t
 

Definition at line 783 of file machine.h.


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