Part: Clean up XML bindings.

This commit is contained in:
tritao
2025-02-12 01:35:09 +00:00
committed by Chris Hennes
parent aff9ef4499
commit 4aa845795e
26 changed files with 829 additions and 837 deletions

View File

@@ -727,14 +727,14 @@ Py::Object BSplineCurvePy::getEndPoint() const
return Py::Vector(Base::Vector3d(pnt.X(), pnt.Y(), pnt.Z()));
}
Py::Object BSplineCurvePy::getFirstUKnotIndex() const
Py::Long BSplineCurvePy::getFirstUKnotIndex() const
{
Handle(Geom_BSplineCurve) curve = Handle(Geom_BSplineCurve)::DownCast
(getGeometryPtr()->handle());
return Py::Long(curve->FirstUKnotIndex());
}
Py::Object BSplineCurvePy::getLastUKnotIndex() const
Py::Long BSplineCurvePy::getLastUKnotIndex() const
{
Handle(Geom_BSplineCurve) curve = Handle(Geom_BSplineCurve)::DownCast
(getGeometryPtr()->handle());