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; }
void TopoShapeFacePy::setTolerance(Py::Float tol) { BRep_Builder aBuilder; const TopoDS_Face& f = TopoDS::Face(getTopoShapePtr()->getShape()); aBuilder.UpdateFace(f, (double)tol); }