]> 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>
Thu, 10 Jan 2013 09:23:21 +0000 (13:23 +0400)
commite6ce7ba75aaa8aaf3b707d6e8fa78d51505bba09
treefe15e9f6added60229c1e6c6a52dc0e93b163e3f
parent76a91b4982637d955cbf14f908935e81df3eac23
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