0030365: Modeling Algorithms - Create tool to compute deviation between any 2D-curve...
authornbv <nbv@opencascade.com>
Mon, 12 Nov 2018 14:00:06 +0000 (17:00 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 26 Nov 2021 15:49:17 +0000 (18:49 +0300)
commit323e88ada79a3d1b75818d2dd863ccc919409e55
tree04b3538af89887ae60f15641bd3461949fcf97d0
parentd0cf7e8f3c23c4518d75d4f3f635382c8db411aa
0030365: Modeling Algorithms - Create tool to compute deviation between any 2D-curve and some its segment

Adds two new overloaded 'ComputeDeviation()' function (approx & exact) to GeomLib_Tool class to calculates the parameter in the curve where the maximum deviation is obtained between the curve and the line segment connecting its points with the specified parameters

Adds new '2ddeviation' DRAW command for 'ComputeDeviation()' functional testing
src/GeomLib/GeomLib_Tool.cxx
src/GeomLib/GeomLib_Tool.hxx
src/GeomliteTest/GeomliteTest_API2dCommands.cxx
tests/lowalgos/2ddeviation/A1 [new file with mode: 0644]
tests/lowalgos/2ddeviation/A2 [new file with mode: 0644]
tests/lowalgos/2ddeviation/A3 [new file with mode: 0644]
tests/lowalgos/grids.list