BRL-CAD
region.h File Reference
#include "common.h"
#include "vmath.h"
#include "bu/avs.h"
#include "bu/list.h"
#include "bu/magic.h"
#include "rt/defines.h"
#include "rt/mater.h"
Include dependency graph for region.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  region
 

Macros

#define REGION_NON_FASTGEN   0
 
#define REGION_FASTGEN_PLATE   1
 
#define REGION_FASTGEN_VOLUME   2
 
#define REGION_NULL   ((struct region *)0)
 
#define RT_CK_REGION(_p)   BU_CKMAG(_p, RT_REGION_MAGIC, "struct region")
 

Functions

void rt_pr_region (const struct region *rp)
 
int db_region_mat (mat_t m, struct db_i *dbip, const char *name, struct resource *resp)
 

Macro Definition Documentation

◆ REGION_NON_FASTGEN

#define REGION_NON_FASTGEN   0

Definition at line 60 of file region.h.

◆ REGION_FASTGEN_PLATE

#define REGION_FASTGEN_PLATE   1

Definition at line 61 of file region.h.

◆ REGION_FASTGEN_VOLUME

#define REGION_FASTGEN_VOLUME   2

Definition at line 62 of file region.h.

◆ REGION_NULL

#define REGION_NULL   ((struct region *)0)

Definition at line 65 of file region.h.

◆ RT_CK_REGION

#define RT_CK_REGION (   _p)    BU_CKMAG(_p, RT_REGION_MAGIC, "struct region")

Definition at line 66 of file region.h.

Function Documentation

◆ rt_pr_region()

void rt_pr_region ( const struct region rp)

◆ db_region_mat()

int db_region_mat ( mat_t  m,
struct db_i dbip,
const char *  name,
struct resource resp 
)

Given the name of a region, return the matrix which maps model coordinates into "region" coordinates.

Returns: 0 OK <0 Failure