BRL-CAD
|
#include <ray_partition.h>
Data Fields | |
uint32_t | pt_magic |
sanity check More... | |
struct partition * | pt_forw |
forwards link More... | |
struct partition * | pt_back |
backwards link More... | |
struct seg * | pt_inseg |
IN seg ptr (gives stp) More... | |
struct hit * | pt_inhit |
IN hit pointer. More... | |
struct seg * | pt_outseg |
OUT seg pointer. More... | |
struct hit * | pt_outhit |
OUT hit ptr. More... | |
struct region * | pt_regionp |
ptr to containing region More... | |
char | pt_inflip |
flip inhit->hit_normal More... | |
char | pt_outflip |
flip outhit->hit_normal More... | |
struct region ** | pt_overlap_reg |
NULL-terminated array of overlapping regions. NULL if no overlap. More... | |
struct bu_ptbl | pt_seglist |
all segs in this partition More... | |
Partitions of a ray. Passed from rt_shootray() into user's a_hit() function.
Not changed to a bu_list for backwards compatibility, but you can iterate the whole list by writing:
for (BU_LIST_FOR(pp, partition, (struct bu_list *)PartHeadp))
Definition at line 53 of file ray_partition.h.
uint32_t pt_magic |
sanity check
Definition at line 55 of file ray_partition.h.
struct partition* pt_forw |
forwards link
Definition at line 56 of file ray_partition.h.
struct partition* pt_back |
backwards link
Definition at line 57 of file ray_partition.h.
struct seg* pt_inseg |
IN seg ptr (gives stp)
Definition at line 58 of file ray_partition.h.
struct hit* pt_inhit |
IN hit pointer.
Definition at line 59 of file ray_partition.h.
struct seg* pt_outseg |
OUT seg pointer.
Definition at line 60 of file ray_partition.h.
struct hit* pt_outhit |
OUT hit ptr.
Definition at line 61 of file ray_partition.h.
struct region* pt_regionp |
ptr to containing region
Definition at line 62 of file ray_partition.h.
char pt_inflip |
flip inhit->hit_normal
Definition at line 63 of file ray_partition.h.
char pt_outflip |
flip outhit->hit_normal
Definition at line 64 of file ray_partition.h.
struct region** pt_overlap_reg |
NULL-terminated array of overlapping regions. NULL if no overlap.
Definition at line 65 of file ray_partition.h.
struct bu_ptbl pt_seglist |
all segs in this partition
Definition at line 66 of file ray_partition.h.