Blender V4.3
Interface0D.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2014-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9extern "C" {
10#include <Python.h>
11}
12
13#include "Interface0D.h"
14
15#include "BLI_utildefines.h"
16
17namespace Freestyle {
18
20{
21 PyErr_SetString(PyExc_TypeError, "method getX() not properly overridden");
22 return 0;
23}
24
26{
27 PyErr_SetString(PyExc_TypeError, "method getY() not properly overridden");
28 return 0;
29}
30
32{
33 PyErr_SetString(PyExc_TypeError, "method getZ() not properly overridden");
34 return 0;
35}
36
38{
39 PyErr_SetString(PyExc_TypeError, "method getPoint3D() not properly overridden");
40 return 0;
41}
42
44{
45 PyErr_SetString(PyExc_TypeError, "method getProjectedX() not properly overridden");
46 return 0;
47}
48
50{
51 PyErr_SetString(PyExc_TypeError, "method getProjectedY() not properly overridden");
52 return 0;
53}
54
56{
57 PyErr_SetString(PyExc_TypeError, "method getProjectedZ() not properly overridden");
58 return 0;
59}
60
62{
63 PyErr_SetString(PyExc_TypeError, "method getPoint2D() not properly overridden");
64 return 0;
65}
66
68{
69 PyErr_SetString(PyExc_TypeError, "method getFEdge() not properly overridden");
70 return nullptr;
71}
72
74{
75 PyErr_SetString(PyExc_TypeError, "method getId() not properly overridden");
76 return 0;
77}
78
80{
81 PyErr_SetString(PyExc_TypeError, "method getNature() not properly overridden");
82 return Nature::POINT;
83}
84
86{
87 PyErr_SetString(PyExc_TypeError, "method castToSVertex() not properly overridden");
88 return nullptr;
89}
90
92{
93 PyErr_SetString(PyExc_TypeError, "method castToViewVertex() not properly overridden");
94 return nullptr;
95}
96
98{
99 PyErr_SetString(PyExc_TypeError, "method castToNonTVertex() not properly overridden");
100 return nullptr;
101}
102
104{
105 PyErr_SetString(PyExc_TypeError, "method castToTVertex() not properly overridden");
106 return nullptr;
107}
108
109} /* namespace Freestyle */
Interface to 0D elements.
virtual real getProjectedX() const
virtual real getZ() const
virtual Geometry::Vec2r getPoint2D() const
virtual FEdge * getFEdge(Interface0D &)
virtual real getY() const
virtual ViewVertex * castToViewVertex()
virtual NonTVertex * castToNonTVertex()
virtual Nature::VertexNature getNature() const
virtual TVertex * castToTVertex()
virtual Id getId() const
virtual Geometry::Vec3r getPoint3D() const
virtual real getProjectedZ() const
virtual real getX() const
virtual SVertex * castToSVertex()
virtual real getProjectedY() const
ushort VertexNature
Definition Nature.h:22
static const VertexNature POINT
Definition Nature.h:24
inherits from class Rep
Definition AppCanvas.cpp:20
double real
Definition Precision.h:14