View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032371 | Community | OCCT:Modeling Algorithms | public | 2021-05-14 12:50 | 2023-08-01 15:08 |
Reporter | guseynov.ruslan_163816 | Assigned To | |||
Priority | normal | Severity | trivial | ||
Status | new | Resolution | open | ||
Product Version | 5.2.2 | ||||
Target Version | Unscheduled | ||||
Summary | 0032371: Modeling Algorithms - Unnecessary range of iteration loop in an algorithm | ||||
Description | In file src/BRepLib/BRepLib.cxx, line 411: for (ii = 0 ; ii < 3 ; ii++ ) { should be changed to for (ii = 1 ; ii < 3 ; ii++ ) { Since ii == 0 always results in obtaining a null pointer Curve2dPtr after calling the first line BRep_Tool::CurveOnSurface (this function expects ii >= 1): void BRep_Tool::CurveOnSurface(const TopoDS_Edge& E, Handle(Geom2d_Curve)& C, Handle(Geom_Surface)& S, TopLoc_Location& L, Standard_Real& First, Standard_Real& Last, const Standard_Integer Index) { if (Index < 1) return; | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-05-14 12:50 | guseynov.ruslan_163816 | New Issue | |
2021-05-14 12:50 | guseynov.ruslan_163816 | Assigned To | => msv |
2021-05-14 22:24 | kgv | Target Version | => 7.6.0 |
2021-05-14 22:24 | kgv | Summary | Unnecessary range of iteration loop in an algorithm => Modeling Algorithms - Unnecessary range of iteration loop in an algorithm |
2021-05-14 22:24 | kgv | Description Updated | |
2021-05-14 22:27 | kgv | Product Version | 7.5.1 => 7.2.0 |
2021-05-14 22:32 | kgv | Product Version | 7.2.0 => 5.2.2 |
2021-08-29 19:24 |
|
Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:41 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |