BRL-CAD
tri_intersect.h
Go to the documentation of this file.
1 /* T R I _ I N T E R S E C T . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2011-2014 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 
21 /** @file libgcv/tri_intersect.h
22  *
23  * Intersect 2 triangles using a modified Möller routine.
24  */
25 
26 #ifndef LIBGCV_TRI_INTERSECT_H
27 #define LIBGCV_TRI_INTERSECT_H
28 
30 
32  struct soup_s *UNUSED(left),
33  struct soup_s *UNUSED(right),
34  struct face_s *lf,
35  struct face_s *rf,
36  int *coplanar,
37  point_t *isectpt,
38  const struct bn_tol *tol);
39 
41 
42 #endif /* LIBGCV_TRI_INTERSECT_H */
43 
44 /*
45  * Local Variables:
46  * tab-width: 8
47  * mode: C
48  * indent-tabs-mode: t
49  * c-file-style: "stroustrup"
50  * coding: utf-8
51  * End:
52  * ex: shiftwidth=4 tabstop=8
53  */
Definition: soup.h:43
#define __BEGIN_DECLS
Definition: common.h:73
#define UNUSED(parameter)
Definition: common.h:239
Support for uniform tolerances.
Definition: tol.h:71
#define __END_DECLS
Definition: common.h:74
Definition: soup.h:49
int gcv_tri_tri_intersect_with_isectline(struct soup_s *left, struct soup_s *right, struct face_s *lf, struct face_s *rf, int *coplanar, point_t *isectpt, const struct bn_tol *tol)