Blender  V3.3
BPy_BBox.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 extern "C" {
10 #include <Python.h>
11 }
12 
13 #include "../geometry/BBox.h"
14 #include "../geometry/Geom.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
21 
22 extern PyTypeObject BBox_Type;
23 
24 #define BPy_BBox_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&BBox_Type))
25 
26 /*---------------------------Python BPy_BBox structure definition----------*/
27 typedef struct {
28  PyObject_HEAD
30 } BPy_BBox;
31 
32 /*---------------------------Python BPy_BBox visible prototypes-----------*/
33 
34 int BBox_Init(PyObject *module);
35 
37 
38 #ifdef __cplusplus
39 }
40 #endif
PyTypeObject BBox_Type
Definition: BPy_BBox.cpp:67
int BBox_Init(PyObject *module)
Definition: BPy_BBox.cpp:19
static struct PyModuleDef module
Definition: python.cpp:972
PyObject_HEAD Freestyle::BBox< Freestyle::Geometry::Vec3r > * bb
Definition: BPy_BBox.h:29