how do i have to define "uniform" knots with multiplicities for Geom_BSplineCurve ?

hello folks,

i need to specify an Bspline curve with uniform knot-vector in OCC, i read a thread concerning quasi-uniform knots, but i want to know, how you have to scale it in OCC, i have n+1 control points from (1, N+1),

i did like that... but it throws an unhandled exception...

TColStd_Array1OfReal Knots (1,N-BspOrder+3);
TColStd_Array1OfInteger Multiplicities (1,N-BspOrder+3);

... new Geom_BSplineCurve(splinePoles, Knots, Multiplicities, BspOrder-1);

I hope someone can help me,

with thanks in advance,

David B.

Albert Woo's picture

you can see "The NURBS Book" Second Edition, p.364~365. There are three methods for choosing knot vector.