Part/PD: modernize C++: redundant void arg
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string BSplineSurfacePy::representation(void) const
|
||||
std::string BSplineSurfacePy::representation() const
|
||||
{
|
||||
return "<BSplineSurface object>";
|
||||
}
|
||||
@@ -1553,7 +1553,7 @@ PyObject* BSplineSurfacePy::buildFromNSections(PyObject *args)
|
||||
}
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getUDegree(void) const
|
||||
Py::Long BSplineSurfacePy::getUDegree() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1561,7 +1561,7 @@ Py::Long BSplineSurfacePy::getUDegree(void) const
|
||||
return Py::Long(deg);
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getVDegree(void) const
|
||||
Py::Long BSplineSurfacePy::getVDegree() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1569,42 +1569,42 @@ Py::Long BSplineSurfacePy::getVDegree(void) const
|
||||
return Py::Long(deg);
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getMaxDegree(void) const
|
||||
Py::Long BSplineSurfacePy::getMaxDegree() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
return Py::Long(surf->MaxDegree());
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getNbUPoles(void) const
|
||||
Py::Long BSplineSurfacePy::getNbUPoles() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
return Py::Long(surf->NbUPoles());
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getNbVPoles(void) const
|
||||
Py::Long BSplineSurfacePy::getNbVPoles() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
return Py::Long(surf->NbVPoles());
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getNbUKnots(void) const
|
||||
Py::Long BSplineSurfacePy::getNbUKnots() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
return Py::Long(surf->NbUKnots());
|
||||
}
|
||||
|
||||
Py::Long BSplineSurfacePy::getNbVKnots(void) const
|
||||
Py::Long BSplineSurfacePy::getNbVKnots() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
return Py::Long(surf->NbVKnots());
|
||||
}
|
||||
|
||||
Py::Object BSplineSurfacePy::getFirstUKnotIndex(void) const
|
||||
Py::Object BSplineSurfacePy::getFirstUKnotIndex() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1612,7 +1612,7 @@ Py::Object BSplineSurfacePy::getFirstUKnotIndex(void) const
|
||||
return Py::Long(index);
|
||||
}
|
||||
|
||||
Py::Object BSplineSurfacePy::getLastUKnotIndex(void) const
|
||||
Py::Object BSplineSurfacePy::getLastUKnotIndex() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1620,7 +1620,7 @@ Py::Object BSplineSurfacePy::getLastUKnotIndex(void) const
|
||||
return Py::Long(index);
|
||||
}
|
||||
|
||||
Py::Object BSplineSurfacePy::getFirstVKnotIndex(void) const
|
||||
Py::Object BSplineSurfacePy::getFirstVKnotIndex() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1628,7 +1628,7 @@ Py::Object BSplineSurfacePy::getFirstVKnotIndex(void) const
|
||||
return Py::Long(index);
|
||||
}
|
||||
|
||||
Py::Object BSplineSurfacePy::getLastVKnotIndex(void) const
|
||||
Py::Object BSplineSurfacePy::getLastVKnotIndex() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1636,7 +1636,7 @@ Py::Object BSplineSurfacePy::getLastVKnotIndex(void) const
|
||||
return Py::Long(index);
|
||||
}
|
||||
|
||||
Py::List BSplineSurfacePy::getUKnotSequence(void) const
|
||||
Py::List BSplineSurfacePy::getUKnotSequence() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
@@ -1658,7 +1658,7 @@ Py::List BSplineSurfacePy::getUKnotSequence(void) const
|
||||
return list;
|
||||
}
|
||||
|
||||
Py::List BSplineSurfacePy::getVKnotSequence(void) const
|
||||
Py::List BSplineSurfacePy::getVKnotSequence() const
|
||||
{
|
||||
Handle(Geom_BSplineSurface) surf = Handle(Geom_BSplineSurface)::DownCast
|
||||
(getGeometryPtr()->handle());
|
||||
|
||||
Reference in New Issue
Block a user