#include <raytrace.h>
Collaboration diagram for hit:

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 | |
| xray * | hit_rayp |
| pointer to defining ray | |
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.
|
|
Definition at line 293 of file raytrace.h. Referenced by linear_pipe_shot(), pipe_end_shot(), and pipe_start_shot(). |
|
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
1.4.6