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
22
23/** Resolve RT_DATUM_AUTO using the historical pnt/dir/w convention. */
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. */
30 const struct rt_datum_internal *datum,
31 struct bu_vls *messages);
32
34
35#endif /* RT_PRIMITIVES_DATUM_H */
36
Definition dvec.h:74
Header file for the BRL-CAD common definitions.
int rt_datum_validate(const struct rt_datum_internal *datum, struct bu_vls *messages)
rt_datum_type rt_datum_resolved_type(const struct rt_datum_internal *datum)
rt_datum_type
Definition geom.h:1175
Definition vls.h:53