soc-2008-mxcurioni: added (but did not test) NonTVertex and TVertex classes. All Interface0D structures have been implemented

This commit is contained in:
Maxime Curioni
2008-07-25 21:56:06 +00:00
parent dc385c59ea
commit 51f9082c96
8 changed files with 485 additions and 284 deletions

View File

@@ -5,6 +5,8 @@
#include "Interface0D/CurvePoint/BPy_StrokeVertex.h"
#include "Interface0D/BPy_SVertex.h"
#include "Interface0D/BPy_ViewVertex.h"
#include "Interface0D/ViewVertex/BPy_NonTVertex.h"
#include "Interface0D/ViewVertex/BPy_TVertex.h"
#include "Interface1D/BPy_FEdge.h"
#include "BPy_Nature.h"
@@ -164,6 +166,16 @@ PyMODINIT_FUNC Interface0D_Init( PyObject *module )
return;
Py_INCREF( &StrokeVertex_Type );
PyModule_AddObject(module, "StrokeVertex", (PyObject *)&StrokeVertex_Type);
if( PyType_Ready( &NonTVertex_Type ) < 0 )
return;
Py_INCREF( &NonTVertex_Type );
PyModule_AddObject(module, "NonTVertex", (PyObject *)&NonTVertex_Type);
if( PyType_Ready( &TVertex_Type ) < 0 )
return;
Py_INCREF( &TVertex_Type );
PyModule_AddObject(module, "TVertex", (PyObject *)&TVertex_Type);
}
//------------------------INSTANCE METHODS ----------------------------------