BRL-CAD
cutnode Struct Reference

#include <space_partition.h>

Collaboration diagram for cutnode:
[legend]

Data Fields

int cn_type
 
int cn_axis
 0, 1, 2 = cut along X, Y, Z More...
 
fastf_t cn_point
 cut through axis==point More...
 
union cuttercn_l
 val < point More...
 
union cuttercn_r
 val >= point More...
 

Detailed Description

Structures for space subdivision.

cut_type is an integer for efficiency of access in rt_shootray() on non-word addressing machines.

If a solid has 'pieces', it will be listed either in bn_list (initially), or in bn_piecelist, but not both.

Definition at line 47 of file space_partition.h.

Field Documentation

◆ cn_type

int cn_type

Definition at line 48 of file space_partition.h.

◆ cn_axis

int cn_axis

0, 1, 2 = cut along X, Y, Z

Definition at line 49 of file space_partition.h.

◆ cn_point

fastf_t cn_point

cut through axis==point

Definition at line 50 of file space_partition.h.

◆ cn_l

union cutter* cn_l

val < point

Definition at line 51 of file space_partition.h.

◆ cn_r

union cutter* cn_r

val >= point

Definition at line 52 of file space_partition.h.


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