BRL-CAD
hit Struct Reference

#include <raytrace.h>

Collaboration diagram for hit:
[legend]

Data Fields

uint32_t hit_magic
 
fastf_t hit_dist
 dist from r_pt to hit_point More...
 
point_t hit_point
 DEPRECATED: Intersection point, use VJOIN1 hit_dist. More...
 
vect_t hit_normal
 DEPRECATED: Surface Normal at hit_point, use RT_HIT_NORMAL. More...
 
vect_t hit_vpriv
 PRIVATE vector for xxx_*() More...
 
void * hit_private
 PRIVATE handle for xxx_shot() More...
 
int hit_surfno
 solid-specific surface indicator More...
 
struct xrayhit_rayp
 pointer to defining ray More...
 

Detailed Description

Information about where a ray hits the surface.

Important Note: Surface Normals always point OUT of a solid.

DEPRECATED: The hit_point and hit_normal elements will be removed from this structure, so as to separate the concept of the solid's normal at the hit point from the post-boolean normal at the hit point.

Definition at line 248 of file raytrace.h.

Field Documentation

fastf_t hit_dist

dist from r_pt to hit_point

Definition at line 250 of file raytrace.h.

Referenced by add_seg(), air_render(), airtest_render(), bangbang(), bend_pipe_shot(), bottie_shot_double(), BU_FORTRAN(), classify_seg(), colinear_edge_ray(), discont_radius_shot(), do_intersect(), do_subtract(), eliminate_overlaps(), emist_fbm_render(), emist_render(), Eplot(), eval_op(), exposed_air(), fire_render(), gauss_render(), grass_render(), guess_class_from_hitlist_max(), guess_class_from_hitlist_min(), hit(), hit_ins(), hit_voxelize(), HitRef(), ICHit(), isect_ray_cell_top(), isect_ray_dsp_bb(), isect_ray_planar_face(), isect_ray_snurb_face(), isect_ray_triangle(), light_hit(), linear_pipe_shot(), nmg_class_ray_vs_shell(), nmg_pl_hitmiss_list(), nmg_rt_print_hitmiss(), overlap(), PHit(), phong_render(), pipe_end_shot(), pipe_start_shot(), print_seg_list(), promote_ints(), ray_hit_edge(), ray_hit_vertex(), record_face_hit(), rr_hit(), rr_render(), rt_arb_norm(), rt_arb_shot(), rt_arb_uv(), rt_arb_vshot(), rt_arbn_norm(), rt_arbn_shot(), rt_ars_norm(), rt_ars_shot(), rt_ars_uv(), rt_boolfinal(), rt_boolweave(), rt_brep_shot(), rt_cline_norm(), rt_default_logoverlap(), rt_dsp_norm(), rt_dsp_uv(), rt_ebm_dda(), rt_ebm_norm(), rt_ehy_norm(), rt_ell_norm(), rt_ell_uv(), rt_ell_vshot(), rt_epa_norm(), rt_eto_norm(), rt_extrude_norm(), rt_fastgen_plate_vol_overlap(), rt_fastgen_vol_vol_overlap(), rt_hf_norm(), rt_hf_shot(), rt_hitsort(), rt_hlf_norm(), rt_hlf_uv(), rt_hlf_vshot(), rt_hrt_norm(), rt_hrt_vshot(), rt_hyp_norm(), rt_hyp_shot(), rt_metaball_uv(), rt_nmg_norm(), rt_part_norm(), rt_part_uv(), rt_pipe_elim_dups(), rt_pipe_norm(), rt_plot_cell(), rt_pr_hit_vls(), rt_pr_hitarray_vls(), rt_pr_pt_vls(), rt_pr_seg_vls(), rt_rebuild_overlaps(), rt_rec_norm(), rt_rec_shot(), rt_rec_vshot(), rt_revolve_norm(), rt_revolve_uv(), rt_rhc_norm(), rt_rpc_norm(), rt_seg_planeclip(), rt_shootray(), rt_shootray_bundle(), rt_sketch_norm(), rt_sph_norm(), rt_sph_shot(), rt_sph_uv(), rt_sph_vshot(), rt_submodel_a_hit(), rt_superell_norm(), rt_tcl_pr_hit(), rt_tgc_norm(), rt_tgc_vshot(), rt_tor_norm(), rt_tor_vshot(), rt_vol_norm(), rt_vol_shot(), rt_weave0seg(), rt_xxx_norm(), scloud_render(), shade_inputs(), shoot_and_plot(), show_seg(), state2(), state3(), state4(), state5and6(), tmist_render(), and XGLUE().

struct xray* hit_rayp

The documentation for this struct was generated from the following file: