occt-products: master 607f906a

Author Committer Branch Timestamp Parent
msv smoskvin master 2022-07-01 20:54:35 master 78f14e59
Changeset 0033051: Mesh Decimator - unexpected outlier of a triangle after decimation

The method MeshDecim_DecimateTool::checkInversion did not define the output area in the case of inversion. This caused usage of uninitialized variable. The patch provides definition of the output argument in any case.

Test case has been added. For its work the source code of the mesh model has been modified so that the bounding box was always actual.
mod - blob Diff File
mod - src/MeshDecim/MeshDecim_DecimateTool.cxx Diff File
mod - src/MeshDecim/MeshDecim_MeshModel.cxx Diff File
mod - src/MeshDecim/MeshDecim_MeshModel.hxx Diff File