BRL-CAD

The LIBRT Solids Table. More...

Collaboration diagram for The Solids Table:

Files

file  soltab.h
 

Data Structures

struct  bound_rpp
 
struct  soltab
 

Macros

#define st_name   st_dp->d_namep
 
#define RT_SOLTAB_NULL   ((struct soltab *)0)
 
#define SOLTAB_NULL   RT_SOLTAB_NULL
 backwards compat More...
 
#define RT_CHECK_SOLTAB(_p)   BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")
 
#define RT_CK_SOLTAB(_p)   BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")
 

Functions

void rt_free_soltab (struct soltab *stp)
 
void rt_pr_soltab (const struct soltab *stp)
 

Detailed Description

The LIBRT Solids Table.

Macro Definition Documentation

◆ st_name

#define st_name   st_dp->d_namep

Definition at line 79 of file soltab.h.

◆ RT_SOLTAB_NULL

#define RT_SOLTAB_NULL   ((struct soltab *)0)

Definition at line 80 of file soltab.h.

◆ SOLTAB_NULL

#define SOLTAB_NULL   RT_SOLTAB_NULL

backwards compat

Definition at line 81 of file soltab.h.

◆ RT_CHECK_SOLTAB

#define RT_CHECK_SOLTAB (   _p)    BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")

Definition at line 83 of file soltab.h.

◆ RT_CK_SOLTAB

#define RT_CK_SOLTAB (   _p)    BU_CKMAG(_p, RT_SOLTAB_MAGIC, "struct soltab")

Definition at line 84 of file soltab.h.

Function Documentation

◆ rt_free_soltab()

void rt_free_soltab ( struct soltab stp)

Decrement use count on soltab structure. If no longer needed, release associated storage, and free the structure.

This routine semaphore protects against other copies of itself running in parallel, and against other routines (such as _rt_find_identical_solid()) which might also be modifying the linked list heads.

Called by - db_free_tree() rt_clean() rt_gettrees() rt_kill_deal_solid_refs()

◆ rt_pr_soltab()

void rt_pr_soltab ( const struct soltab stp)