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_COVERS_POINTS_ALGORITHM
22 #define SFCGAL_COVERS_POINTS_ALGORITHM
23 
24 #include <SFCGAL/config.h>
25 
26 #include <vector>
27 
28 namespace SFCGAL {
29 class Geometry;
30 namespace detail {
31 namespace algorithm {
32 
33 
34 /**
35  * Pseudo cover test on 2D geometries. Collect points of gb and tests if no points of gb is outside ga
36  * @ingroup@ detail
37  */
38 SFCGAL_API bool coversPoints( const Geometry& ga, const Geometry& gb );
39 
40 /**
41  * Pseudo cover test on 3D geometries. Collect points of gb and tests if no points of gb is outside ga
42  * @ingroup@ detail
43  */
44 SFCGAL_API bool coversPoints3D( const Geometry& ga, const Geometry& gb );
45 }
46 }
47 }
48 
49 #endif
50