+ add Thomas Anderson's remove splitter algorithm

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5228 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-12-07 15:16:57 +00:00
parent c618af29dc
commit 271291a2d0
9 changed files with 729 additions and 11 deletions

View File

@@ -1244,6 +1244,23 @@ PyObject* TopoShapePy::isInside(PyObject *args)
}
}
PyObject* TopoShapePy::removeSplitter(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return NULL;
try {
// Remove redundant splitter
this->getTopoShapePtr()->removeSplitter();
Py_Return;
}
catch (Standard_Failure) {
Handle_Standard_Failure e = Standard_Failure::Caught();
PyErr_SetString(PyExc_Exception, e->GetMessageString());
return NULL;
}
}
#if 0 // see ComplexGeoDataPy::Matrix which does the same
Py::Object TopoShapePy::getLocation(void) const
{