hit Struct Reference
[librt geometry, raytracing]

#include <raytrace.h>

Collaboration diagram for hit:

Collaboration graph
[legend]

Data Fields

long hit_magic
fastf_t hit_dist
 dist from r_pt to hit_point
point_t hit_point
 Intersection point.
vect_t hit_normal
 Surface Normal at hit_point.
vect_t hit_vpriv
 PRIVATE vector for xxx_*().
genptr_t hit_private
 PRIVATE handle for xxx_shot().
int hit_surfno
 solid-specific surface indicator
xrayhit_rayp
 pointer to defining ray

Detailed Description

H I T

Information about where a ray hits the surface

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

Statement of intent: 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 292 of file raytrace.h.


Field Documentation

long hit_magic
 

Definition at line 293 of file raytrace.h.

Referenced by linear_pipe_shot(), pipe_end_shot(), and pipe_start_shot().

fastf_t hit_dist
 

dist from r_pt to hit_point

Definition at line 294 of file raytrace.h.

Referenced by classify_seg(), do_intersect(), do_subtract(), do_union(), eliminate_overlaps(), eval_op(), isect_ray_planar_face(), linear_pipe_shot(), nmg_class_ray_vs_shell(), nmg_pl_hitmiss_list(), nmg_rt_print_hitmiss(), pipe_end_shot(), pipe_start_shot(), promote_ints(), rt_arb_shot(), rt_arb_vshot(), rt_arbn_shot(), rt_boolfinal(), rt_boolweave(), rt_ebm_dda(), rt_ell_vshot(), rt_fastgen_plate_vol_overlap(), rt_fastgen_vol_vol_overlap(), rt_hlf_vshot(), rt_pipe_hitsort(), rt_rebuild_overlaps(), rt_rec_vshot(), rt_seg_planeclip(), rt_sph_vshot(), rt_submodel_a_hit(), rt_tcl_pr_hit(), rt_vol_shot(), rt_weave0seg(), rt_xxx_norm(), shoot_and_plot(), and XGLUE().

point_t hit_point
 

Intersection point.

Definition at line 295 of file raytrace.h.

Referenced by isect_ray_planar_face(), nmg_rt_print_hitmiss(), rt_pipe_hitsort(), rt_submodel_a_hit(), rt_tcl_pr_hit(), rt_xxx_norm(), and XGLUE().

vect_t hit_normal
 

Surface Normal at hit_point.

Definition at line 296 of file raytrace.h.

Referenced by rt_pipe_hitsort(), rt_submodel_a_hit(), rt_xxx_curve(), and XGLUE().

vect_t hit_vpriv
 

PRIVATE vector for xxx_*().

Definition at line 297 of file raytrace.h.

Referenced by linear_pipe_shot(), rt_ebm_dda(), rt_rec_vshot(), rt_submodel_a_hit(), and XGLUE().

genptr_t hit_private
 

PRIVATE handle for xxx_shot().

Definition at line 298 of file raytrace.h.

Referenced by isect_ray_lseg(), isect_ray_planar_face(), nmg_rt_print_hitmiss(), and XGLUE().

int hit_surfno
 

solid-specific surface indicator

Definition at line 299 of file raytrace.h.

Referenced by linear_pipe_shot(), pipe_end_shot(), pipe_start_shot(), rt_arb_shot(), rt_arb_vshot(), rt_arbn_shot(), rt_boolweave(), rt_ebm_dda(), rt_pipe_hitsort(), rt_rec_vshot(), rt_seg_planeclip(), rt_submodel_a_hit(), rt_tcl_pr_hit(), rt_vol_shot(), and rt_weave0seg().

struct xray* hit_rayp
 

pointer to defining ray

Definition at line 300 of file raytrace.h.

Referenced by rt_boolweave(), rt_submodel_a_hit(), and rt_tree_max_raynum().


The documentation for this struct was generated from the following file:
Generated on Mon Sep 18 01:25:12 2006 for BRL-CAD by  doxygen 1.4.6