Mod: redundant void 2
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string OffsetCurve2dPy::representation(void) const
|
||||
std::string OffsetCurve2dPy::representation() const
|
||||
{
|
||||
return "<OffsetCurve2d object>";
|
||||
}
|
||||
@@ -74,7 +74,7 @@ int OffsetCurve2dPy::PyInit(PyObject* args, PyObject* /*kwd*/)
|
||||
}
|
||||
}
|
||||
|
||||
Py::Float OffsetCurve2dPy::getOffsetValue(void) const
|
||||
Py::Float OffsetCurve2dPy::getOffsetValue() const
|
||||
{
|
||||
Handle(Geom2d_OffsetCurve) curve = Handle(Geom2d_OffsetCurve)::DownCast(getGeometry2dPtr()->handle());
|
||||
return Py::Float(curve->Offset());
|
||||
@@ -86,7 +86,7 @@ void OffsetCurve2dPy::setOffsetValue(Py::Float arg)
|
||||
curve->SetOffsetValue((double)arg);
|
||||
}
|
||||
|
||||
Py::Object OffsetCurve2dPy::getBasisCurve(void) const
|
||||
Py::Object OffsetCurve2dPy::getBasisCurve() const
|
||||
{
|
||||
Handle(Geom2d_OffsetCurve) curve = Handle(Geom2d_OffsetCurve)::DownCast(getGeometry2dPtr()->handle());
|
||||
Handle(Geom2d_Curve) basis = curve->BasisCurve();
|
||||
|
||||
Reference in New Issue
Block a user