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_TRANSLATE_H_
22 #define _SFCGAL_TRANSLATE_H_
23 
24 #include <SFCGAL/export.h>
25 
26 #include <SFCGAL/Kernel.h>
27 
28 namespace SFCGAL {
29 class Geometry ;
30 }
31 
32 namespace SFCGAL {
33 namespace algorithm {
34 
35 /**
36  * @brief translate a geometry from a given vector
37  * @todo unittest
38  */
39 SFCGAL_API void       translate( Geometry& g, const Kernel::Vector_3& v ) ;
40 /**
41  * @brief translate a geometry from a given vector
42  * @todo unittest
43  */
44 SFCGAL_API void       translate( Geometry& g, const Kernel::Vector_2& v ) ;
45 /**
46  * @brief translate a geometry from a given vector
47  * @todo unittest
48  */
49 SFCGAL_API void       translate( Geometry& g, Kernel::FT dx, Kernel::FT dy, Kernel::FT dz ) ;
50 
51 } // namespace algorithm
52 } // namespace SFCGAL
53 
54 #endif
55 
56