remove ambiguous function setTolerance, use Tolerance attribute instead

This commit is contained in:
wmayer
2018-08-19 14:31:04 +02:00
parent 3ffd435526
commit 07eea2e3a6
6 changed files with 1 additions and 50 deletions

View File

@@ -726,17 +726,6 @@ PyObject* TopoShapeEdgePy::isSeam(PyObject *args)
}
}
PyObject* TopoShapeEdgePy::setTolerance(PyObject *args)
{
double tol;
if (!PyArg_ParseTuple(args, "d", &tol))
return 0;
BRep_Builder aBuilder;
const TopoDS_Edge& e = TopoDS::Edge(getTopoShapePtr()->getShape());
aBuilder.UpdateEdge(e, tol);
Py_Return;
}
PyObject* TopoShapeEdgePy::firstVertex(PyObject *args)
{
PyObject* orient = Py_False;