]> 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>
Fri, 1 Mar 2013 12:26:03 +0000 (16:26 +0400)
commitc2f0a9ba45f0431e65a7b1016e2cb632d1f9326e
tree452cf1908cc7933188d1f85b138ba4c50dee679d
parentc3d415426f6624aad30ade86fa98272a0a3f9659
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