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 #include <SFCGAL/Surface.h>
22 #include <SFCGAL/GeometryVisitor.h>
23
24 namespace SFCGAL {
25
26 ///
27 ///
28 ///
~Surface()29 Surface::~Surface()
30 {
31
32 }
33
34 ///
35 ///
36 ///
dimension() const37 int Surface::dimension() const
38 {
39 return 2 ;
40 }
41
42 ///
43 ///
44 ///
Surface()45 Surface::Surface() :
46 Geometry()
47 {
48
49 }
50
51 ///
52 ///
53 ///
Surface(Surface const & other)54 Surface::Surface( Surface const& other ) :
55 Geometry( other )
56 {
57
58 }
59
60 /**
61 * [OGC/SFS]"The area of this Surface, as measured in the spatial reference system of this Surface"
62 */
63 //virtual double area() const = 0 ;
64 /**
65 * [OGC/SFS]"The mathematical centroid for this Surface as a Point. The result in not guaranteed to
66 * be on this Surface"
67 */
68 //virtual Point centroid() const = 0 ;
69 /**
70 * [OGC/SFS]"A Point guaranteed to be on this Surface"
71 * @warning empty point is isEmpty()
72 */
73 //virtual Point pointOnSurface() const = 0 ;
74
75
76 }//SFCGAL
77
78
79
80