BRL-CAD

Routines supporting reading and writing version 4 of the BRL-CAD geometry database. More...

Collaboration diagram for Database Version 4:

Files

file  db4.h
 GED Database Format v4.
 

Data Structures

struct  ident
 
struct  solidrec
 
struct  combination
 
struct  member
 
struct  material_rec
 
struct  B_solid
 
struct  b_surf
 
struct  polyhead
 
struct  polydata
 
struct  ars_rec
 
struct  ars_ext
 
struct  strsol
 
struct  arbn_rec
 
struct  exported_pipe_pnt
 
struct  pipewire_rec
 
struct  particle_rec
 
struct  extr_rec
 
struct  sketch_rec
 
struct  annot_rec
 
struct  script_rec
 
struct  cline_rec
 
struct  bot_rec
 
union  record
 

Macros

#define NAMESIZE   16
 
#define NAMEMOVE(from, to)   (void)strncpy(to, from, NAMESIZE)
 
#define DB_MINREC   128
 
#define DB_RECORD_NULL   ((union record *)0)
 

Typedefs

typedef float dbfloat_t
 

Functions

DEPRECATED void rt_fastf_float (fastf_t *ff, const dbfloat_t *fp, int n, int flip)
 
DEPRECATED void rt_mat_dbmat (fastf_t *ff, const dbfloat_t *dbp, int flip)
 
DEPRECATED void rt_dbmat_mat (dbfloat_t *dbp, const fastf_t *ff)
 

Detailed Description

Routines supporting reading and writing version 4 of the BRL-CAD geometry database.

Macro Definition Documentation

◆ NAMESIZE

#define NAMESIZE   16

Definition at line 74 of file db4.h.

◆ NAMEMOVE

#define NAMEMOVE (   from,
  to 
)    (void)strncpy(to, from, NAMESIZE)

Definition at line 77 of file db4.h.

◆ DB_MINREC

#define DB_MINREC   128

Definition at line 86 of file db4.h.

◆ DB_RECORD_NULL

#define DB_RECORD_NULL   ((union record *)0)

Definition at line 493 of file db4.h.

Typedef Documentation

◆ dbfloat_t

typedef float dbfloat_t

Definition at line 84 of file db4.h.

Function Documentation

◆ rt_fastf_float()

DEPRECATED void rt_fastf_float ( fastf_t ff,
const dbfloat_t fp,
int  n,
int  flip 
)

◆ rt_mat_dbmat()

DEPRECATED void rt_mat_dbmat ( fastf_t ff,
const dbfloat_t dbp,
int  flip 
)

◆ rt_dbmat_mat()

DEPRECATED void rt_dbmat_mat ( dbfloat_t dbp,
const fastf_t ff 
)