2008-07-18 02:55:23 +00:00
|
|
|
#ifndef FREESTYLE_PYTHON_FEDGE_H
|
|
|
|
|
#define FREESTYLE_PYTHON_FEDGE_H
|
|
|
|
|
|
2008-07-23 07:56:08 +00:00
|
|
|
#include "../BPy_Interface1D.h"
|
2008-07-18 02:55:23 +00:00
|
|
|
#include "../../view_map/Silhouette.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#include <Python.h>
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject FEdge_Type;
|
|
|
|
|
|
2008-07-29 05:45:16 +00:00
|
|
|
#define BPy_FEdge_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FEdge_Type) )
|
2008-07-18 02:55:23 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_FEdge structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
BPy_Interface1D py_if1D;
|
|
|
|
|
FEdge *fe;
|
|
|
|
|
} BPy_FEdge;
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* FREESTYLE_PYTHON_FEDGE_H */
|