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

@@ -813,17 +813,6 @@ Py::Object TopoShapeFacePy::getSurface() const
throw Py::TypeError("undefined surface type");
}
PyObject* TopoShapeFacePy::setTolerance(PyObject *args)
{
double tol;
if (!PyArg_ParseTuple(args, "d", &tol))
return 0;
BRep_Builder aBuilder;
const TopoDS_Face& f = TopoDS::Face(getTopoShapePtr()->getShape());
aBuilder.UpdateFace(f, tol);
Py_Return;
}
Py::Float TopoShapeFacePy::getTolerance(void) const
{
const TopoDS_Face& f = TopoDS::Face(getTopoShapePtr()->getShape());