]> OCCT Git - occt-copy.git/commit
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>
Wed, 23 Apr 2014 11:45:38 +0000 (15:45 +0400)
commit4c04024c75c7adb11f53d8ecb1b9fae2063ef3e6
treeaf7433a435606bfdef07137bce4d51be018f11b1
parent2bb3ffc5af1a96b5a81f54ef6904e96efce1c322
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_CurveTool.gxx
tests/bugs/moddata_3/bug24800 [new file with mode: 0755]