soc-2008-mxcurioni: implemented (but did not test) the following classes: Material, Chain, FEdgeSharp, FEdgeSmooth. All Interface1D classes have now been fully implemented.

This commit is contained in:
Maxime Curioni
2008-07-26 02:33:21 +00:00
parent 51f9082c96
commit b216e4d12d
14 changed files with 1165 additions and 147 deletions

View File

@@ -0,0 +1,31 @@
#ifndef FREESTYLE_PYTHON_FEDGESHARP_H
#define FREESTYLE_PYTHON_FEDGESHARP_H
#include "../BPy_FEdge.h"
#include "../../../view_map/Silhouette.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject FEdgeSharp_Type;
#define BPy_FEdgeSharp_Check(v) (( (PyObject *) v)->ob_type == &FEdgeSharp_Type)
/*---------------------------Python BPy_FEdgeSharp structure definition----------*/
typedef struct {
BPy_FEdge py_fe;
FEdgeSharp *fes;
} BPy_FEdgeSharp;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_FEDGESHARP_H */