Make new method in Vector3 accesible from Python

This commit is contained in:
wmayer
2012-02-24 19:43:44 +01:00
parent d4899667bc
commit d102002bdf
6 changed files with 47 additions and 3 deletions

View File

@@ -120,6 +120,7 @@ PyObject* PointsPy::writeInventor(PyObject * args)
for (Points::PointKernel::const_iterator it = kernel->begin(); it != kernel->end(); ++it)
builder.addPoint((float)it->x,(float)it->y,(float)it->z);
builder.endPoints();
builder.addPointSet();
builder.close();
return Py::new_reference_to(Py::String(result.str()));