]> OCCT Git - occt-copy.git/commit
0028765: Get rid of creation of trimmed curve in IntTools_Context::Hatcher to avoid... CR28765
authormsv <msv@opencascade.com>
Tue, 23 May 2017 06:44:38 +0000 (09:44 +0300)
committeremv <emv@opencascade.com>
Fri, 29 Sep 2017 13:53:29 +0000 (16:53 +0300)
commit13ea5df08afdfbec63a6366d5f9fd73a0dd631b2
tree320558c79f774e86ad94288647524f3f45c2dc2a
parente2b4dea25313d08318e94d6cbc329d18486d801c
0028765: Get rid of creation of trimmed curve in IntTools_Context::Hatcher to avoid exception

In the method IntTools_Context::Hatcher 2D curve adaptor is created to pass to Geom2dHatch_Hatcher::AddElement().
An extra step of creation of the trimmed curve is excessive here, because the bounding parameters of the curve are also passed to the curve adaptor.
src/Geom2dHatch/Geom2dHatch_Hatcher.cxx
src/IntTools/IntTools_Context.cxx