BRL-CAD
id.c File Reference
#include "common.h"
#include <math.h>
#include "bio.h"
#include "db.h"
#include "vmath.h"
#include "bu/units.h"
#include "bn.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "wdb.h"
Include dependency graph for id.c:

Go to the source code of this file.

Functions

int mk_id (struct rt_wdb *fp, const char *title)
 
int mk_id_units (struct rt_wdb *fp, const char *title, const char *units)
 
int mk_id_editunits (struct rt_wdb *wdbp, const char *title, double local2mm)
 

Detailed Description

An ID record must be the first granule in the database.

Return codes of 0 are OK, -1 signal an error.

Definition in file id.c.