Part: Geometry add support for getting the number of knots in a B-Spline

This commit is contained in:
Abdullah Tahiri
2017-02-23 23:55:52 +01:00
committed by wmayer
parent 2369112fb5
commit 409cbb7199
2 changed files with 6 additions and 0 deletions

View File

@@ -646,6 +646,11 @@ int GeomBSplineCurve::countPoles() const
return myCurve->NbPoles();
}
int GeomBSplineCurve::countKnots() const
{
return myCurve->NbKnots();
}
void GeomBSplineCurve::setPole(int index, const Base::Vector3d& pole, double weight)
{
try {