Blender V4.3
Interface1D.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 "Interface1D.h"
14
15namespace Freestyle {
16
18{
19 PyErr_SetString(PyExc_TypeError, "method verticesBegin() not properly overridden");
20 return Interface0DIterator();
21}
22
24{
25 PyErr_SetString(PyExc_TypeError, "method verticesEnd() not properly overridden");
26 return Interface0DIterator();
27}
28
30{
31 PyErr_SetString(PyExc_TypeError, "method pointsBegin() not properly overridden");
32 return Interface0DIterator();
33}
34
36{
37 PyErr_SetString(PyExc_TypeError, "method pointsEnd() not properly overridden");
38 return Interface0DIterator();
39}
40
42{
43 PyErr_SetString(PyExc_TypeError, "method getLength2D() not properly overridden");
44 return 0;
45}
46
48{
49 PyErr_SetString(PyExc_TypeError, "method getId() not properly overridden");
50 return Id(0, 0);
51}
52
54{
55 PyErr_SetString(PyExc_TypeError, "method getNature() not properly overridden");
56 return Nature::NO_FEATURE;
57}
58
59} /* namespace Freestyle */
Interface 1D and related tools definitions.
virtual Interface0DIterator verticesEnd()
virtual Interface0DIterator pointsEnd(float t=0.0f)
virtual Nature::EdgeNature getNature() const
virtual Interface0DIterator verticesBegin()
virtual real getLength2D() const
virtual Interface0DIterator pointsBegin(float t=0.0f)
virtual Id getId() const
static const EdgeNature NO_FEATURE
Definition Nature.h:38
ushort EdgeNature
Definition Nature.h:36
inherits from class Rep
Definition AppCanvas.cpp:20
double real
Definition Precision.h:14