BRL-CAD
Loading...
Searching...
No Matches
datum.h
Go to the documentation of this file.
1
/* D A T U M . H
2
* BRL-CAD
3
*
4
* Copyright (c) 2026 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
/** @file rt/primitives/datum.h */
12
13
#ifndef RT_PRIMITIVES_DATUM_H
14
#define RT_PRIMITIVES_DATUM_H
15
16
#include "
common.h
"
17
#include "
bu/vls.h
"
18
#include "
rt/defines.h
"
19
#include "
rt/geom.h
"
20
21
__BEGIN_DECLS
22
23
/** Resolve RT_DATUM_AUTO using the historical pnt/dir/w convention. */
24
RT_EXPORT
extern
rt_datum_type
rt_datum_resolved_type
(
25
const
struct
rt_datum_internal
*
datum
);
26
27
/** Validate a NULL-terminated datum chain. Returns zero when valid. If
28
* messages is non-NULL, validation failures are appended to it. */
29
RT_EXPORT
extern
int
rt_datum_validate
(
30
const
struct
rt_datum_internal
*
datum
,
31
struct
bu_vls
*messages);
32
33
__END_DECLS
34
35
#endif
/* RT_PRIMITIVES_DATUM_H */
36
dvec
Definition
dvec.h:74
common.h
Header file for the BRL-CAD common definitions.
rt_datum_validate
int rt_datum_validate(const struct rt_datum_internal *datum, struct bu_vls *messages)
rt_datum_resolved_type
rt_datum_type rt_datum_resolved_type(const struct rt_datum_internal *datum)
geom.h
rt_datum_type
rt_datum_type
Definition
geom.h:1175
defines.h
bu_vls
Definition
vls.h:53
rt_datum_internal
Definition
geom.h:1197
vls.h
include
rt
primitives
datum.h
Generated on Mon Aug 17 2026 00:59:53 for BRL-CAD by
1.9.8