BRL-CAD
pg.h
Go to the documentation of this file.
1/* P G . H
2 * BRL-CAD
3 *
4 * Copyright (c) 1993-2023 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/** @addtogroup rt_pg */
21/** @{ */
22/** @file rt/primitives/pg.h */
23
24#ifndef RT_PRIMITIVES_PG_H
25#define RT_PRIMITIVES_PG_H
26
27#include "common.h"
28#include "vmath.h"
29#include "bu/list.h"
30#include "bn/tol.h"
31#include "rt/defines.h"
32
33__BEGIN_DECLS
34
35RT_EXPORT extern int rt_pg_to_bot(struct rt_db_internal *ip,
36 const struct bn_tol *tol,
37 struct resource *resp0);
38RT_EXPORT extern int rt_pg_plot(struct bu_list *vhead,
39 struct rt_db_internal *ip,
40 const struct bg_tess_tol *ttol,
41 const struct bn_tol *tol,
42 const struct bview *info);
43RT_EXPORT extern int rt_pg_plot_poly(struct bu_list *vhead,
44 struct rt_db_internal *ip,
45 const struct bg_tess_tol *ttol,
46 const struct bn_tol *tol);
47
48/** @} */
49
50__END_DECLS
51
52#endif /* RT_PRIMITIVES_PG_H */
53
54/*
55 * Local Variables:
56 * tab-width: 8
57 * mode: C
58 * indent-tabs-mode: t
59 * c-file-style: "stroustrup"
60 * End:
61 * ex: shiftwidth=4 tabstop=8
62 */
Header file for the BRL-CAD common definitions.
int rt_pg_to_bot(struct rt_db_internal *ip, const struct bn_tol *tol, struct resource *resp0)
int rt_pg_plot_poly(struct bu_list *vhead, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol)
int rt_pg_plot(struct bu_list *vhead, struct rt_db_internal *ip, const struct bg_tess_tol *ttol, const struct bn_tol *tol, const struct bview *info)
Definition: tol.h:72
Definition: list.h:131
Definition: defines.h:476
fundamental vector, matrix, quaternion math macros