BRL-CAD
Loading...
Searching...
No Matches
binunif.h
Go to the documentation of this file.
1
/* B I N U N I F . H
2
* BRL-CAD
3
*
4
* Copyright (c) 1993-2025 United States Government as represented by
5
* the U.S. Army Research Laboratory.
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public License
9
* version 2.1 as published by the Free Software Foundation.
10
*
11
* This library is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this file; see the file named COPYING for more
18
* information.
19
*/
20
/** @file rt/binunif.h
21
*
22
*/
23
24
#ifndef RT_BINUNIF_H
25
#define RT_BINUNIF_H
26
27
#include "
common.h
"
28
#include "
vmath.h
"
29
#include "
bu/vls.h
"
30
#include "
rt/defines.h
"
31
#include "
rt/directory.h
"
32
33
__BEGIN_DECLS
34
35
/* defined in binary_obj.c */
36
RT_EXPORT
extern
int
rt_mk_binunif
(
struct
rt_wdb
*
wdbp
,
37
const
char
*obj_name,
38
const
char
*
file_name
,
39
unsigned
int
minor_type,
40
size_t
max_count
);
41
42
43
/* defined in db5_bin.c */
44
45
/**
46
* Free the storage associated with a binunif_internal object
47
*/
48
RT_EXPORT
extern
void
rt_binunif_free
(
struct
rt_binunif_internal
*bip);
49
50
/**
51
* Diagnostic routine
52
*/
53
RT_EXPORT
extern
void
rt_binunif_dump
(
struct
rt_binunif_internal
*bip);
54
55
/**
56
* Decode binunif type into string.
57
*/
58
RT_EXPORT
extern
const
char
*
rt_binunif_typestr
(
const
struct
directory
*dp);
59
60
__END_DECLS
61
62
#endif
/* RT_BINUNIF_H */
63
64
/*
65
* Local Variables:
66
* tab-width: 8
67
* mode: C
68
* indent-tabs-mode: t
69
* c-file-style: "stroustrup"
70
* End:
71
* ex: shiftwidth=4 tabstop=8
72
*/
rt_binunif_free
void rt_binunif_free(struct rt_binunif_internal *bip)
rt_binunif_dump
void rt_binunif_dump(struct rt_binunif_internal *bip)
rt_mk_binunif
int rt_mk_binunif(struct rt_wdb *wdbp, const char *obj_name, const char *file_name, unsigned int minor_type, size_t max_count)
rt_binunif_typestr
const char * rt_binunif_typestr(const struct directory *dp)
dvec
Definition
dvec.h:74
common.h
Header file for the BRL-CAD common definitions.
directory.h
defines.h
directory
Definition
directory.h:62
rt_binunif_internal
Definition
nongeom.h:134
rt_wdb
Definition
wdb.h:62
vls.h
vmath.h
fundamental vector, matrix, quaternion math macros
include
rt
binunif.h
Generated on Sat Jul 5 2025 01:23:51 for BRL-CAD by
1.9.8