]> OCCT Git - occt-copy.git/commit
0028765: Get rid of creation of trimmed curve in IntTools_Context::Hatcher to avoid...
authormsv <msv@opencascade.com>
Tue, 23 May 2017 06:44:38 +0000 (09:44 +0300)
committeremv <emv@opencascade.com>
Fri, 29 Sep 2017 13:55:48 +0000 (16:55 +0300)
commit61e0a1daf4a4fe0bae3daee09010d7680b191499
tree725cb6f04ada0cd7adc0213023d96d59b88566a2
parent8c1074b2ac08e2975b6354a2e23515c233daab58
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