BRL-CAD
tri_face.h
Go to the documentation of this file.
1 /* T R I _ F A C E . 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 /** @file tri_face.h
21  *
22  * triangulateFace routine for triangulating convex/concave planar N-gons.
23  *
24  */
25 
26 #ifndef LIBGCV_WFOBJ_TRI_FACE_H
27 #define LIBGCV_WFOBJ_TRI_FACE_H
28 
29 struct faceuse*
30 make_faceuse_from_face(const double points[], int numPoints);
31 
32 void
34  int **faces,
35  size_t *numFaces,
36  const double points[],
37  size_t numPoints,
38  struct bn_tol tol);
39 
40 #endif
41 
42 /*
43  * Local Variables:
44  * tab-width: 8
45  * mode: C
46  * indent-tabs-mode: t
47  * c-file-style: "stroustrup"
48  * End:
49  * ex: shiftwidth=4 tabstop=8
50  */
Support for uniform tolerances.
Definition: tol.h:71
void triangulateFace(int **faces, size_t *numFaces, const double points[], size_t numPoints, struct bn_tol tol)
Definition: tri_face.c:199
struct faceuse * make_faceuse_from_face(const double points[], int numPoints)
Definition: tri_face.c:146