#include "common.h"
#include "vmath.h"
#include "bu/vls.h"
#include "wdb.h"
#include "rt/defines.h"
#include "rt/directory.h"
#include "rt/nongeom.h"
Go to the source code of this file.
◆ RT_BINUNIF_TYPE_MASK
| #define RT_BINUNIF_TYPE_MASK 0x00ffu |
◆ RT_BINUNIF_NETWORK_ORDER
| #define RT_BINUNIF_NETWORK_ORDER 0x0100u |
The input file has network byte order. Input is assumed to have host byte order when this flag is absent.
Definition at line 44 of file binunif.h.
◆ rt_mk_binunif()
Import a typed raw file as a uniform binary database object.
input_type is a DB5_MINORTYPE_BINU_* value, optionally combined with RT_BINUNIF_NETWORK_ORDER. File input defaults to host byte order. A positive max_count limits the number of imported elements; zero imports the complete file. The resulting in-memory elements use host byte order and are serialized into the database in network byte order.
Returns 0 on success and -1 on error.
◆ rt_binunif_free()
Free the storage associated with a binunif_internal object
◆ rt_binunif_dump()
◆ rt_binunif_typestr()
Decode binunif type into string.