Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0024439Community[OCCT] OCCT:Modeling Datapublic2013-12-05 12:052017-07-28 12:56
ReporterLaszlo Kudela 
Assigned Toifv 
PlatformAOSLOS VersionL
Product Version[OCCT] 6.6.0 
Target VersionFixed in Version 
Summary0024439: Change the messages that Geom_BSplineSurface throws on bad construction
DescriptionThe CheckSurfaceData function in Geom_BSplineSurface.cxx checks the validity of the B-Spline surface with given knots, control points, etc. If something goes wrong, the function throws (or "raises"), but the message is not really verbose: in every case, the message string of the thrown Standard_Failure is "Geom_BSplineSurface".

It would be nice if someone could fix this, e.g, if the uKnots length and uMultiplicities length is different, throw something like: "Geom_BSplineSurface: number of knots and multiplicities does not match!".

This way, one would not have to debug into it anymore. Catching the expression and couting the message string would do the job.
Steps To ReproduceEasy to reproduce: call the constructor of Geom_BSplineSurface with any configuration of invalid data, and catch the exception.
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-12-05 12:05 Laszlo Kudela New Issue
2013-12-05 12:05 Laszlo Kudela Assigned To => ifv
2017-07-28 12:56 apv Test case number => Not required

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker