1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
17 /** \file
18  * \ingroup freestyle
19  */
20 
21 extern "C" {
22 #include <Python.h>
23 }
24 
25 #include "Interface0D.h"
26 
27 #include "BLI_utildefines.h"
28 
29 namespace Freestyle {
30 
getX() const31 real Interface0D::getX() const
32 {
33   PyErr_SetString(PyExc_TypeError, "method getX() not properly overridden");
34   return 0;
35 }
36 
getY() const37 real Interface0D::getY() const
38 {
39   PyErr_SetString(PyExc_TypeError, "method getY() not properly overridden");
40   return 0;
41 }
42 
getZ() const43 real Interface0D::getZ() const
44 {
45   PyErr_SetString(PyExc_TypeError, "method getZ() not properly overridden");
46   return 0;
47 }
48 
getPoint3D() const49 Geometry::Vec3r Interface0D::getPoint3D() const
50 {
51   PyErr_SetString(PyExc_TypeError, "method getPoint3D() not properly overridden");
52   return 0;
53 }
54 
getProjectedX() const55 real Interface0D::getProjectedX() const
56 {
57   PyErr_SetString(PyExc_TypeError, "method getProjectedX() not properly overridden");
58   return 0;
59 }
60 
getProjectedY() const61 real Interface0D::getProjectedY() const
62 {
63   PyErr_SetString(PyExc_TypeError, "method getProjectedY() not properly overridden");
64   return 0;
65 }
66 
getProjectedZ() const67 real Interface0D::getProjectedZ() const
68 {
69   PyErr_SetString(PyExc_TypeError, "method getProjectedZ() not properly overridden");
70   return 0;
71 }
72 
getPoint2D() const73 Geometry::Vec2r Interface0D::getPoint2D() const
74 {
75   PyErr_SetString(PyExc_TypeError, "method getPoint2D() not properly overridden");
76   return 0;
77 }
78 
getFEdge(Interface0D & UNUSED (element))79 FEdge *Interface0D::getFEdge(Interface0D &UNUSED(element))
80 {
81   PyErr_SetString(PyExc_TypeError, "method getFEdge() not properly overridden");
82   return 0;
83 }
84 
getId() const85 Id Interface0D::getId() const
86 {
87   PyErr_SetString(PyExc_TypeError, "method getId() not properly overridden");
88   return 0;
89 }
90 
getNature() const91 Nature::VertexNature Interface0D::getNature() const
92 {
93   PyErr_SetString(PyExc_TypeError, "method getNature() not properly overridden");
94   return Nature::POINT;
95 }
96 
castToSVertex()97 SVertex *Interface0D::castToSVertex()
98 {
99   PyErr_SetString(PyExc_TypeError, "method castToSVertex() not properly overridden");
100   return 0;
101 }
102 
castToViewVertex()103 ViewVertex *Interface0D::castToViewVertex()
104 {
105   PyErr_SetString(PyExc_TypeError, "method castToViewVertex() not properly overridden");
106   return 0;
107 }
108 
castToNonTVertex()109 NonTVertex *Interface0D::castToNonTVertex()
110 {
111   PyErr_SetString(PyExc_TypeError, "method castToNonTVertex() not properly overridden");
112   return 0;
113 }
114 
castToTVertex()115 TVertex *Interface0D::castToTVertex()
116 {
117   PyErr_SetString(PyExc_TypeError, "method castToTVertex() not properly overridden");
118   return 0;
119 }
120 
121 } /* namespace Freestyle */
122