]> OCCT Git - occt-copy.git/commit
0030020: Incorrect bspline visualization
authormsv <msv@opencascade.com>
Tue, 7 Aug 2018 08:47:59 +0000 (11:47 +0300)
committermsv <msv@opencascade.com>
Fri, 5 Oct 2018 17:04:30 +0000 (20:04 +0300)
commit765283765bd96cd817ba4f3665620965a6053672
treebb4c7c5dd80ff268dbf7dc595a34d2db51bb0e86
parent60b1a085c7c0cdb6c1ad2834019ac5206d3d771a
0030020: Incorrect bspline visualization

Let's we have a spline having fit points located on a direct line (let's number them 1, 2, 3), but they are located in order 1, 3, 2. There was a bug in GCPnts_TangentialDeflection that only first and last points were put in the result. Now more point is put, so that the result polygon made back movement.

The command crvtpoints has been made to accept angular value in degrees instead of radians.
src/GCPnts/GCPnts_TangentialDeflection.pxx
src/GeometryTest/GeometryTest_CurveCommands.cxx
tests/bugs/modalg_7/bug30020 [new file with mode: 0644]
tests/bugs/moddata_3/bug25489
tests/bugs/moddata_3/bug25737_2
tests/bugs/moddata_3/bug27108