]> OCCT Git - occt-copy.git/commit
Draw function nexplode was replaced by explode in test case
authorabk <abk@opencascade.com>
Thu, 10 Jan 2013 09:23:21 +0000 (13:23 +0400)
committerabk <abk@opencascade.com>
Wed, 6 Mar 2013 10:56:53 +0000 (14:56 +0400)
commit168b9ec45aa5df225333bff4bea978f780e68760
treeb03b619b76ad378cf4459921075a9cbb11417a69
parent7ed3f1cf334ae0df799787c32c30c0000041eb56
Draw function nexplode was replaced by explode in test case
blend/complex/D4.
Calculation of gravity center was removed for degenerated edge.
It is revealed that function nexplode does not work on shapes with
degenerated edges.

Comments.
Calculation of gravity center was made by vertices data in case of
degenerated edge without representations especially for test case
blend/complex/D4. The mass of the edge was set to 1. The mass near 0 does
not satisfy the test case. As a result test case bugs/moddata/bug268
became failed. Because only the mass near 0 satisfies last test case.
src/BRepGProp/BRepGProp.cxx
tests/blend/complex/D4