View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022629 | Community | OCCT:Modeling Algorithms | public | 2011-06-24 19:08 | 2012-08-20 07:49 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | reopened | ||
OS | All | ||||
Summary | 0022629: Typo in Geom2d_BSplineCurve::LocateU() | ||||
Description | RLN contribution. Summary: Typo in Geom2d_BSplineCurve::LocateU() - which uses a value not adjusted to period for periodic B-Splines. Detailed description: The bug shows up on periodic B-Splines when due to rounding issues the U parameter is slightly below the min knot (e.g. 0 vs 1e-18). NewU bumps up to 0 + period but due to wrong check, another if branch is chosen (one which uses BSplCLib::Hunt()) and respectively an exception later is thrown due to access beyond the max knot item. Similar code in Geom_BSplineCurve and Geom_BSplineSurface is correct. Another minor improvements: - computation of Abs(ParametricTolerance) only once. - removed Abs(ParametricTolerance) in the 3rd and 4th branch as they are irrelevant after 1st and 2nd. ==================================================== Branch OCC22629 is created. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
has duplicate | 0022488 | closed | Typo in Geom2d_BSplineCurve::LocateU() - which uses a value not adjusted to period for periodic B-Splines |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |
2011-11-24 16:43 |
|
Assigned To | bugmaster => jgv |
2011-11-24 16:43 |
|
Status | acknowledged => assigned |
2011-11-24 16:43 |
|
Resolution | suspended => reopened |
2011-11-24 16:43 |
|
Fixed in Version | EMPTY => |
2011-11-24 16:43 |
|
Description Updated | |
2012-08-17 17:22 | Pawel | Note Added: 0021262 | |
2012-08-17 17:22 | Pawel | Assigned To | jgv => bugmaster |
2012-08-17 17:22 | Pawel | Status | assigned => feedback |
2012-08-20 07:49 |
|
Relationship added | has duplicate 0022488 |
2012-08-20 07:49 |
|
Status | feedback => closed |