BRL-CAD

Serialize and de-serialize NMG models. More...

Collaboration diagram for Input/Output:

Files

file  io.h
 

Data Structures

struct  nmg_rec
 

Macros

#define V4_NAMESIZE   16
 
#define DISK_MODEL_VERSION   1 /* V0 was Release 4.0 */
 

Functions

struct modelnmg_import (const struct bu_external *ep, const mat_t mat, int record_sizeof)
 
int nmg_export (struct bu_external *ep, struct model *m, double local2mm, int ver)
 

Detailed Description

Serialize and de-serialize NMG models.

Macro Definition Documentation

◆ V4_NAMESIZE

#define V4_NAMESIZE   16

Definition at line 38 of file io.h.

◆ DISK_MODEL_VERSION

#define DISK_MODEL_VERSION   1 /* V0 was Release 4.0 */

Definition at line 49 of file io.h.

Function Documentation

◆ nmg_import()

struct model * nmg_import ( const struct bu_external ep,
const mat_t  mat,
int  record_sizeof 
)

◆ nmg_export()

int nmg_export ( struct bu_external ep,
struct model m,
double  local2mm,
int  ver 
)