help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nurbs nbrmak syntax


From: c.
Subject: Re: nurbs nbrmak syntax
Date: Mon, 27 May 2013 22:27:34 +0200

Benjamin,

Please post questions about the nurbs package to the help mailing list
so they are archived and others who have similar questions cans search the 
archive for answers.

On 27 May 2013, at 21:26, Benjamin Muyl <address@hidden> wrote:

> Dear Carlo
> 
> I have been downloading your nurbs toolbox.
> Thanks very much for maintaining and providing this tool ! 
> 
> I am strugling to understand the syntax for the knots in nbrmak
> 
> The help text reads:
>  knots   : Non-decreasing knot sequence spanning the interval 
> %               [0.0,1.0]. It's assumed that the curves and surfaces 
> %               are clamped to the start and end control points by knot 
> %               multiplicities equal to the spline order. 
> 
> 
> pnts = [0.5 1.5 4.5 3.0 7.5 6.0 8.5; 
>         3.0 5.5 5.5 1.5 1.5 4.0 4.5; 
>         0.0 0.0 0.0 0.0 0.0 0.0 0.0]; 
> crv = nrbmak(pnts,[0 0 0 1/4 1/2 3/4 3/4 1 1 1]); 
>  
> nrbplot(crv, 60)
> 
> 
> Even though I 've been playing a bit with [0 0 0 1/4 1/2 3/4 3/4 1 1 1]…I 
> still  don't get the syntax
> Can you help me ?
> Thanks in advance
> 
> Benjamin

The example you show above works perfectly for me, what is it exactly that you 
would like me to clarify?
c.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]