Mod: redundant void 2
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string SurfaceOfRevolutionPy::representation(void) const
|
||||
std::string SurfaceOfRevolutionPy::representation() const
|
||||
{
|
||||
return std::string("<SurfaceOfRevolution object>");
|
||||
}
|
||||
@@ -83,7 +83,7 @@ int SurfaceOfRevolutionPy::PyInit(PyObject* args, PyObject* /*kwd*/)
|
||||
}
|
||||
}
|
||||
|
||||
Py::Object SurfaceOfRevolutionPy::getLocation(void) const
|
||||
Py::Object SurfaceOfRevolutionPy::getLocation() const
|
||||
{
|
||||
Handle(Geom_SurfaceOfRevolution) curve = Handle(Geom_SurfaceOfRevolution)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -113,7 +113,7 @@ void SurfaceOfRevolutionPy::setLocation(Py::Object arg)
|
||||
}
|
||||
}
|
||||
|
||||
Py::Object SurfaceOfRevolutionPy::getDirection(void) const
|
||||
Py::Object SurfaceOfRevolutionPy::getDirection() const
|
||||
{
|
||||
Handle(Geom_SurfaceOfRevolution) curve = Handle(Geom_SurfaceOfRevolution)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -147,7 +147,7 @@ namespace Part {
|
||||
extern const Py::Object makeGeometryCurvePy(const Handle(Geom_Curve)& c);
|
||||
}
|
||||
|
||||
Py::Object SurfaceOfRevolutionPy::getBasisCurve(void) const
|
||||
Py::Object SurfaceOfRevolutionPy::getBasisCurve() const
|
||||
{
|
||||
Handle(Geom_SurfaceOfRevolution) surf = Handle(Geom_SurfaceOfRevolution)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
|
||||
Reference in New Issue
Block a user