80#define RT_SOLTAB_INIT_ZERO {BU_LIST_INIT_ZERO, BU_LIST_INIT_ZERO, NULL, NULL, 0, 0, VINIT_ZERO, 0.0, 0.0, NULL, NULL, VINIT_ZERO, VINIT_ZERO, 0, BU_PTBL_INIT_ZERO, NULL, DB_FULL_PATH_INIT_ZERO, 0, 0, NULL}
82#define st_name st_dp->d_namep
83#define RT_SOLTAB_NULL ((struct soltab *)0)
84#define SOLTAB_NULL RT_SOLTAB_NULL
86#define RT_CHECK_SOLTAB(_p) BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")
87#define RT_CK_SOLTAB(_p) BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")
Header file for the BRL-CAD common definitions.
void rt_free_soltab(struct soltab *stp)
void rt_pr_soltab(const struct soltab *stp)
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
Global registry of recognized magic numbers.
point_t st_min
min X, Y, Z of bounding RPP
long st_bit
solids bit vector index (const)
fastf_t st_aradius
Radius of APPROXIMATING sphere.
struct rt_i * st_rtip
"up" pointer to rt_i
point_t st_center
Centroid of solid.
point_t st_max
max X, Y, Z of bounding RPP
const struct directory * st_dp
Directory entry of solid.
long st_piecestate_num
re_pieces[] subscript
fastf_t st_bradius
Radius of BOUNDING sphere.
void * st_specific
-> ID-specific (private) struct
struct bound_rpp * st_piece_rpps
bounding RPP of each piece of this solid
long st_uses
Usage count, for instanced solids.
struct bu_list l2
links, headed by st_dp->d_use_hd
long st_npieces
# pieces used by this solid
struct db_full_path st_path
path from region to leaf
struct bu_ptbl st_regions
ptrs to regions using this solid (const)
const struct rt_functab * st_meth
pointer to per-solid methods
struct bu_list l
links, headed by rti_headsolid
matp_t st_matp
solid coords to model space, NULL=identity
fundamental vector, matrix, quaternion math macros