For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to decease a nurbs curve's degree

SunHongLei's picture

In opencascade, there is a function that increase a nurbs curve's degree like :
IncreaseDegree(Standard_Integer &degree), I want to know how decease a nurbs curve's degree in opencascade?

Mauro Mariotti's picture

Generally a NURBS curve degree cannot be decreased, it can be done only in an approximate way.

ShapeCustom::BSplineRestriction does it for curves (and surfaces) inside a shape.
Maybe you can create an edge and call it.
I don't know an equivalent algorithm for curves.


SunHongLei's picture

Thanks very much!