occt: master c894a5fd

Author Committer Branch Timestamp Parent
msv apn master 2016-11-17 12:50:16 master 6dd6e5c7
Affected Issues  0027992: Modeling Algorithms - Extrema_ExtPS crashes on face without geometric surface
Changeset 0027992: Modeling Algorithms - Extrema_ExtPS crashes on face without geometric surface

The algorithm BRepExtrema_DistShapeShape has been protected against exceptions when non-geometric shape data is given on input, like a face containing triangulation only or an edge containing polygon only. Such faces/edges are ignored by the algorithm.

BRepGProps::VolumeProperties() now ignores faces without geometric surface to avoid access violation.
mod - src/BRepExtrema/BRepExtrema_ExtCC.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_ExtCF.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_ExtFF.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_ExtPC.cxx Diff File
mod - src/BRepExtrema/BRepExtrema_ExtPF.cxx Diff File
mod - src/BRepGProp/BRepGProp.cxx Diff File
mod - src/BRepTest/BRepTest_ExtremaCommands.cxx Diff File
add - tests/bugs/modalg_6/bug27992 Diff File
mod - tests/bugs/vis/bug27821 Diff File