0024800: Point of intersection was not found for 2d offset curve.
authorgka <gka@opencascade.com>
Thu, 10 Apr 2014 11:45:18 +0000 (15:45 +0400)
committerabv <abv@opencascade.com>
Thu, 24 Apr 2014 11:43:24 +0000 (15:43 +0400)
commita874a4a0761fe772d1db73b269a89fad9dec4341
treec16a79c9f2a6d25e287cdbb78ac1924477f84199
parent790a8bbcbfa8713ee46400bdf53a271f51183730
0024800: Point of intersection was not found for 2d offset curve.

For fix this case in method Geom2dInt_Geom2dCurveTool::NBSamples() number of samples for 2d offset and trimmed curve is computed as max value from number of samples for other curve and number of samples for basis curve.

Test case for issue CR24800
src/Adaptor2d/Adaptor2d_Curve2d.cdl
src/Adaptor2d/Adaptor2d_Curve2d.cxx
src/Geom2dAdaptor/Geom2dAdaptor_Curve.cdl
src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx
src/Geom2dInt/Geom2dInt_Geom2dCurveTool.cxx
tests/bugs/moddata_3/bug24800 [new file with mode: 0755]