Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -44,7 +44,7 @@
using namespace Part;
// returns a string which represents the object e.g. when printed in python
std::string TopoShapeVertexPy::representation(void) const
std::string TopoShapeVertexPy::representation() const
{
std::stringstream str;
str << "<Vertex object at " << getTopoShapePtr() << ">";
@@ -137,7 +137,7 @@ int TopoShapeVertexPy::PyInit(PyObject* args, PyObject* /*kwd*/)
return 0;
}
Py::Float TopoShapeVertexPy::getTolerance(void) const
Py::Float TopoShapeVertexPy::getTolerance() const
{
const TopoDS_Vertex& v = TopoDS::Vertex(getTopoShapePtr()->getShape());
return Py::Float(BRep_Tool::Tolerance(v));
@@ -150,7 +150,7 @@ void TopoShapeVertexPy::setTolerance(Py::Float tol)
aBuilder.UpdateVertex(v, (double)tol);
}
Py::Float TopoShapeVertexPy::getX(void) const
Py::Float TopoShapeVertexPy::getX() const
{
try {
const TopoDS_Vertex& v = TopoDS::Vertex(getTopoShapePtr()->getShape());
@@ -162,7 +162,7 @@ Py::Float TopoShapeVertexPy::getX(void) const
}
}
Py::Float TopoShapeVertexPy::getY(void) const
Py::Float TopoShapeVertexPy::getY() const
{
try {
const TopoDS_Vertex& v = TopoDS::Vertex(getTopoShapePtr()->getShape());
@@ -174,7 +174,7 @@ Py::Float TopoShapeVertexPy::getY(void) const
}
}
Py::Float TopoShapeVertexPy::getZ(void) const
Py::Float TopoShapeVertexPy::getZ() const
{
try {
const TopoDS_Vertex& v = TopoDS::Vertex(getTopoShapePtr()->getShape());
@@ -186,7 +186,7 @@ Py::Float TopoShapeVertexPy::getZ(void) const
}
}
Py::Object TopoShapeVertexPy::getPoint(void) const
Py::Object TopoShapeVertexPy::getPoint() const
{
try {
const TopoDS_Vertex& v = TopoDS::Vertex(getTopoShapePtr()->getShape());