bugGNU Octave - Bugs: bug #53097, [octave forge] (nurbs) nrbmak...

 
 

bug #53097: [octave forge] (nurbs) nrbmak builds invalid structure

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Thu 08 Feb 2018 09:42:21 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  juanpi Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Mar 2021 07:09:24 AM UTC, comment #2: 

Closed as fixed with nurbs-1.4.3 (released today) by private request of package maintainer.

Kai Torben Ohlhus <siko1056>
Group Member
Mon 29 Mar 2021 09:13:36 AM UTC, comment #1: 

I added the consistency check. The function now gives an error if the knot vector is too short (as it would give degree < 1), or if it is too long (it would give number of control points < degree+1).

And sorry for the late reply.

Rafael Vazquez <rafavzqz>
Thu 08 Feb 2018 09:42:21 PM UTC, original submission:  

Reading the documentation of nrbmak, I expected the following to produce an error or a warning


crv = nrbmak([0 0.5 1;0 1 0],[0 0.5 1])


It works, but then


nrbplot (crv)


fails, due to the multiplicity of the initial and final knots. To make ti work:


crv = nrbmak([0 0.5 1;0 1 0],[0 0 0.5 1 1])


but the doc string reads "The nrbmak not only constructs the proper structure, but also checks for consistency." which means that the function has a big or the dcostring is not correct-

It seems to me that the multiplicity of the knots can be internally and cosistently defined.

Juan Pablo Carbajal <juanpi>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by rafavzqz (Posted a comment)
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-30 siko1056 StatusNone Fixed
        Open/ClosedOpen Closed
    2019-01-26 mtmiller Summary[octave forge](nurbs) nrbmak builds invalid structure [octave forge] (nurbs) nrbmak builds invalid structure

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code