]> OCCT Git - occt.git/commit
0025214: HLR fails to project edges
authormsv <msv@opencascade.com>
Tue, 25 Oct 2016 08:54:34 +0000 (11:54 +0300)
committerapn <apn@opencascade.com>
Thu, 27 Oct 2016 14:27:26 +0000 (17:27 +0300)
commit6b8f3bdc36daf45396261fed51839064be893cff
tree318595eb7503c3c6fd669502da897621c7b85e6a
parent95f8c6082dae20e53c196418ed9790fe78757109
0025214: HLR fails to project edges

Avoid getting non-existing array items. Use reference to array items instead of pointers where it is possible.
Create test case. Before the fix this test raised exception in debug mode.
src/HLRBRep/HLRBRep_Data.cxx
src/HLRBRep/HLRBRep_InternalAlgo.cxx
tests/bugs/modalg_6/bug25214 [new file with mode: 0644]