[Part] Change BSplineCurve/Surface setBounds() method name to scaleKnotsToBounds()
This commit is contained in:
@@ -1680,7 +1680,7 @@ Py::List BSplineSurfacePy::getVKnotSequence(void) const
|
||||
return list;
|
||||
}
|
||||
|
||||
PyObject* BSplineSurfacePy::setBounds(PyObject *args)
|
||||
PyObject* BSplineSurfacePy::scaleKnotsToBounds(PyObject *args)
|
||||
{
|
||||
double u0=0.0;
|
||||
double u1=1.0;
|
||||
@@ -1695,7 +1695,7 @@ PyObject* BSplineSurfacePy::setBounds(PyObject *args)
|
||||
return nullptr;;
|
||||
}
|
||||
GeomBSplineSurface* surf = getGeomBSplineSurfacePtr();
|
||||
surf->setBounds(u0, u1, v0, v1);
|
||||
surf->scaleKnotsToBounds(u0, u1, v0, v1);
|
||||
Py_Return;
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
|
||||
Reference in New Issue
Block a user