1 /**
2  *   SFCGAL
3  *
4  *   Copyright (C) 2012-2013 Oslandia <infos@oslandia.com>
5  *   Copyright (C) 2012-2013 IGN (http://www.ign.fr)
6  *
7  *   This library is free software; you can redistribute it and/or
8  *   modify it under the terms of the GNU Library General Public
9  *   License as published by the Free Software Foundation; either
10  *   version 2 of the License, or (at your option) any later version.
11  *
12  *   This library is distributed in the hope that it will be useful,
13  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  *   Library General Public License for more details.
16 
17  *   You should have received a copy of the GNU Library General Public
18  *   License along with this library; if not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef _SFCGAL_ALGORITHM_TESSELATE_H_
22 #define _SFCGAL_ALGORITHM_TESSELATE_H_
23 
24 #include <SFCGAL/config.h>
25 
26 #include <SFCGAL/Geometry.h>
27 
28 namespace SFCGAL {
29 namespace algorithm {
30 struct NoValidityCheck;
31 
32 /**
33  * Tesselate a geometry: this will triangulate surfaces (including polyhedral and solid's surfaces) and keep untouched
34  * points, lines, etc.
35  * @pre g is a valid geometry
36  * @ingroup public_api
37  */
38 SFCGAL_API std::unique_ptr<SFCGAL::Geometry> tesselate( const Geometry& );
39 
40 /**
41  * Tesselate a geometry: this will triangulate surfaces (including polyhedral and solid's surfaces) and keep untouched
42  * points, lines, etc.
43  * @pre g is a valid geometry
44  * @ingroup detail
45  * @warning No actual validity check is done.
46  */
47 SFCGAL_API std::unique_ptr<SFCGAL::Geometry> tesselate( const Geometry&, NoValidityCheck );
48 
49 }//algorithm
50 }//SFCGAL
51 
52 
53 #endif
54