| 379 | return Py::None(); |
| 380 | } |
| 381 | Py::Object removeSmallEdges(const Py::Tuple& args) |
| 382 | { |
| 383 | PyObject* shape; |
| 384 | double tol; |
| 385 | if (!PyArg_ParseTuple(args.ptr(), "O!d", &TopoShapePy::Type, &shape, &tol)) { |
| 386 | throw Py::Exception(); |
| 387 | } |
| 388 | |
| 389 | TopoDS_Shape sh = static_cast<TopoShapePy*>(shape)->getTopoShapePtr()->getShape(); |
| 390 | Handle(ShapeBuild_ReShape) reshape = new ShapeBuild_ReShape(); |
| 391 | TopoShape res = ShapeFix::RemoveSmallEdges(sh, tol, reshape); |
| 392 | return Py::asObject(res.getPyObject()); |
| 393 | } |
| 394 | Py::Object fixVertexPosition(const Py::Tuple& args) |
| 395 | { |
| 396 | PyObject* shape; |
nothing calls this directly
no test coverage detected