BRL-CAD
#include "common.h"
#include "vmath.h"
#include "bu/ptbl.h"
#include "rt/defines.h"
#include "rt/seg.h"
Include dependency graph for ray_partition.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  partition
 
struct  partition_list
 
struct  partition_bundle
 

Macros

#define PT_NULL   ((struct partition *)0)
 
#define RT_CHECK_PT(_p)   RT_CK_PT(_p)
 compat More...
 
#define RT_CK_PT(_p)   BU_CKMAG(_p, PT_MAGIC, "struct partition")
 
#define RT_CK_PARTITION(_p)   BU_CKMAG(_p, PT_MAGIC, "struct partition")
 
#define RT_CK_PT_HD(_p)   BU_CKMAG(_p, PT_HD_MAGIC, "struct partition list head")
 
#define RT_PT_MIDDLE_START   pt_inseg
 1st elem to copy More...
 
#define RT_PT_MIDDLE_END   pt_seglist.l.magic
 copy up to this elem (non-inclusive) More...
 
#define RT_PT_MIDDLE_LEN(p)    (((char *)&(p)->RT_PT_MIDDLE_END) - ((char *)&(p)->RT_PT_MIDDLE_START))
 
#define RT_DUP_PT(ip, new, old, res)
 
#define GET_PT_INIT(ip, p, res)
 
#define GET_PT(ip, p, res)
 
#define FREE_PT(p, res)
 
#define RT_FREE_PT_LIST(_headp, _res)
 
#define INSERT_PT(_new, _old)   BU_LIST_INSERT((struct bu_list *)_old, (struct bu_list *)_new)
 
#define APPEND_PT(_new, _old)   BU_LIST_APPEND((struct bu_list *)_old, (struct bu_list *)_new)
 
#define DEQUEUE_PT(_cur)   BU_LIST_DEQUEUE((struct bu_list *)_cur)
 

Functions

int rt_partition_len (const struct partition *partheadp)