View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024439 | Community | OCCT:Modeling Data | public | 2013-12-05 12:05 | 2017-07-28 12:56 |
Reporter | Laszlo Kudela | Assigned To | |||
Priority | low | Severity | minor | ||
Status | new | Resolution | open | ||
Platform | A | OS | L | ||
Product Version | 6.6.0 | ||||
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. | ||||
Tags | No tags attached. | ||||
Test case number | Not required | ||||
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 |
|
Test case number | => Not required |