MantisBT - Community
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024439||Community||[OCCT] OCCT:Modeling Data||public||2013-12-05 12:05||2017-07-28 12:56|
|Reporter||Laszlo Kudela|| |
|Assigned To||ifv|| |
|Product Version||[OCCT] 6.6.0|| |
|Target Version||Fixed in Version|| |
|Test case number||Not required|
|Summary||0024439: Change the messages that Geom_BSplineSurface throws on bad construction|
|Description||The 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 Reproduce||Easy to reproduce: call the constructor of Geom_BSplineSurface with any configuration of invalid data, and catch the exception.|
and documentation updates
|Tags||No tags attached.|
|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|
There are no notes attached to this issue.