Blender  V3.3
Interface1D.cpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 extern "C" {
8 #include <Python.h>
9 }
10 
11 #include "Interface1D.h"
12 
13 namespace Freestyle {
14 
16 {
17  PyErr_SetString(PyExc_TypeError, "method verticesBegin() not properly overridden");
18  return Interface0DIterator();
19 }
20 
22 {
23  PyErr_SetString(PyExc_TypeError, "method verticesEnd() not properly overridden");
24  return Interface0DIterator();
25 }
26 
28 {
29  PyErr_SetString(PyExc_TypeError, "method pointsBegin() not properly overridden");
30  return Interface0DIterator();
31 }
32 
34 {
35  PyErr_SetString(PyExc_TypeError, "method pointsEnd() not properly overridden");
36  return Interface0DIterator();
37 }
38 
40 {
41  PyErr_SetString(PyExc_TypeError, "method getLength2D() not properly overridden");
42  return 0;
43 }
44 
46 {
47  PyErr_SetString(PyExc_TypeError, "method getId() not properly overridden");
48  return Id(0, 0);
49 }
50 
52 {
53  PyErr_SetString(PyExc_TypeError, "method getNature() not properly overridden");
54  return Nature::NO_FEATURE;
55 }
56 
57 } /* namespace Freestyle */
Interface 1D and related tools definitions.
virtual Interface0DIterator verticesEnd()
Definition: Interface1D.cpp:21
virtual Interface0DIterator pointsEnd(float t=0.0f)
Definition: Interface1D.cpp:33
virtual Nature::EdgeNature getNature() const
Definition: Interface1D.cpp:51
virtual Interface0DIterator verticesBegin()
Definition: Interface1D.cpp:15
virtual real getLength2D() const
Definition: Interface1D.cpp:39
virtual Interface0DIterator pointsBegin(float t=0.0f)
Definition: Interface1D.cpp:27
virtual Id getId() const
Definition: Interface1D.cpp:45
static const EdgeNature NO_FEATURE
Definition: Nature.h:34
unsigned short EdgeNature
Definition: Nature.h:32
inherits from class Rep
Definition: AppCanvas.cpp:18
double real
Definition: Precision.h:12