From c6a42198ac7027f241d7532159ca0a32219bd7d2 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Thu, 19 Dec 2024 21:03:53 +0100 Subject: [PATCH] fixes and ref updates --- .../Acts/Surfaces/BoundaryTolerance.hpp | 4 + Core/src/Surfaces/TrapezoidBounds.cpp | 9 +- .../Core/Surfaces/BoundsRegressionTests.cpp | 767 +++++++++--------- 3 files changed, 395 insertions(+), 385 deletions(-) diff --git a/Core/include/Acts/Surfaces/BoundaryTolerance.hpp b/Core/include/Acts/Surfaces/BoundaryTolerance.hpp index 0255545c891..53d068d7f00 100644 --- a/Core/include/Acts/Surfaces/BoundaryTolerance.hpp +++ b/Core/include/Acts/Surfaces/BoundaryTolerance.hpp @@ -72,6 +72,10 @@ class BoundaryTolerance { throw std::invalid_argument( "AbsoluteBound: Tolerance must be non-negative"); } + if ((tolerance0 == 0) != (tolerance1 == 0)) { + throw std::invalid_argument( + "AbsoluteBound: Both tolerances must be zero or non-zero"); + } } }; diff --git a/Core/src/Surfaces/TrapezoidBounds.cpp b/Core/src/Surfaces/TrapezoidBounds.cpp index 71a7ced6c7c..0ca5b53a57e 100644 --- a/Core/src/Surfaces/TrapezoidBounds.cpp +++ b/Core/src/Surfaces/TrapezoidBounds.cpp @@ -75,12 +75,17 @@ Vector2 TrapezoidBounds::closestPoint( const double hlXnY = get(TrapezoidBounds::eHalfLengthXnegY); const double hlXpY = get(TrapezoidBounds::eHalfLengthXposY); const double hlY = get(TrapezoidBounds::eHalfLengthY); + const double rotAngle = get(TrapezoidBounds::eRotationAngle); + + const Vector2 extPosition = Eigen::Rotation2Dd(rotAngle) * lposition; Vector2 vertices[] = { {-hlXnY, -hlY}, {hlXnY, -hlY}, {hlXpY, hlY}, {-hlXpY, hlY}}; - return detail::VerticesHelper::computeClosestPointOnPolygon( - lposition, vertices, metric.value_or(SquareMatrix2::Identity())); + Vector2 extClosest = detail::VerticesHelper::computeClosestPointOnPolygon( + extPosition, vertices, metric.value_or(SquareMatrix2::Identity())); + + return Eigen::Rotation2Dd(-rotAngle) * extClosest; } std::vector TrapezoidBounds::vertices( diff --git a/Tests/UnitTests/Core/Surfaces/BoundsRegressionTests.cpp b/Tests/UnitTests/Core/Surfaces/BoundsRegressionTests.cpp index 56bec3caaa8..363652bb02d 100644 --- a/Tests/UnitTests/Core/Surfaces/BoundsRegressionTests.cpp +++ b/Tests/UnitTests/Core/Surfaces/BoundsRegressionTests.cpp @@ -752,7 +752,7 @@ BOOST_AUTO_TEST_CASE(Rectangle) { parseMatrix(reference))); } - BOOST_TEST_CONTEXT("AbsoluteBound(1, 0)") { + BOOST_TEST_CONTEXT("AbsoluteBound(1, 0.01)") { std::string reference = R"X( ................................................................................ ................................................................................ @@ -836,12 +836,12 @@ BOOST_AUTO_TEST_CASE(Rectangle) { ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0.01); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } - BOOST_TEST_CONTEXT("AbsoluteCartesian(1, 1)") { + BOOST_TEST_CONTEXT("AbsoluteBound(0.01, 0.1)") { std::string reference = R"X( ................................................................................ ................................................................................ @@ -925,7 +925,7 @@ BOOST_AUTO_TEST_CASE(Rectangle) { ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0, 0.1); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0.01, 0.1); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } @@ -1749,43 +1749,44 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { .........................................XXXXXXXXXXXXX.......................... ......................................XXXXXXXXXXXXXXXX.......................... ...................................XXXXXXXXXXXXXXXXXXX.......................... -................................XXXXXXXXXXXXXXXXXXXXXX.......................... +................................XXXXXXXXXXXXXXXXXXXXXXX......................... ............................XXXXXXXXXXXXXXXXXXXXXXXXXXX......................... .........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... .....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... .....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. ...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ ...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... ..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... ..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... @@ -1795,15 +1796,14 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. @@ -1827,7 +1827,7 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { parseMatrix(reference))); } - BOOST_TEST_CONTEXT("AbsoluteBound(1, 0)") { + BOOST_TEST_CONTEXT("AbsoluteBound(1, 0.01)") { std::string reference = R"X( ................................................................................ ................................................................................ @@ -1838,19 +1838,19 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ................................................................................ ................................................................................ ................................................................................ -......................................................X......................... -...................................................XXXX......................... -................................................XXXXXXX......................... +................................................................................ +...................................................XXX.......................... +...............................................XXXXXXX.......................... ............................................XXXXXXXXXXX......................... .........................................XXXXXXXXXXXXXX......................... ......................................XXXXXXXXXXXXXXXXXX........................ -...................................XXXXXXXXXXXXXXXXXXXXX........................ +..................................XXXXXXXXXXXXXXXXXXXXXX........................ ...............................XXXXXXXXXXXXXXXXXXXXXXXXX........................ ............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... @@ -1882,23 +1882,23 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................................... -............XXXXXXXXXXXXXXXXXXXXXXXXXX.......................................... +............XXXXXXXXXXXXXXXXXXXXXXXXXXX......................................... ............XXXXXXXXXXXXXXXXXXXXXXX............................................. ...........XXXXXXXXXXXXXXXXXXXXX................................................ ...........XXXXXXXXXXXXXXXXXX................................................... -...........XXXXXXXXXXXXXX....................................................... +...........XXXXXXXXXXXXXXX...................................................... ...........XXXXXXXXXXX.......................................................... ..........XXXXXXXXX............................................................. ..........XXXXXX................................................................ -..........XX.................................................................... +..........XXX................................................................... ................................................................................ ................................................................................ ................................................................................ @@ -1911,12 +1911,12 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0.01); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } - BOOST_TEST_CONTEXT("AbsoluteBound(0, 0.1)") { + BOOST_TEST_CONTEXT("AbsoluteBound(0, 0)") { std::string reference = R"X( ................................................................................ ................................................................................ @@ -1927,16 +1927,16 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ................................................................................ ................................................................................ ................................................................................ -.....................................................X.......................... -.................................................XXXXX.......................... -..............................................XXXXXXXX.......................... -...........................................XXXXXXXXXXXX......................... -........................................XXXXXXXXXXXXXXX......................... -....................................XXXXXXXXXXXXXXXXXXXX........................ -.................................XXXXXXXXXXXXXXXXXXXXXXX........................ -..............................XXXXXXXXXXXXXXXXXXXXXXXXXX........................ -...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +................................................................................ +...................................................XXX.......................... +................................................XXXXXX.......................... +............................................XXXXXXXXXXX......................... +.........................................XXXXXXXXXXXXXX......................... +......................................XXXXXXXXXXXXXXXXXX........................ +...................................XXXXXXXXXXXXXXXXXXXXX........................ +...............................XXXXXXXXXXXXXXXXXXXXXXXXX........................ +............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... @@ -1970,25 +1970,25 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXX........................................ -............XXXXXXXXXXXXXXXXXXXXXXXXX........................................... -...........XXXXXXXXXXXXXXXXXXXXXX............................................... -...........XXXXXXXXXXXXXXXXXXX.................................................. -...........XXXXXXXXXXXXXXXX..................................................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................................... +............XXXXXXXXXXXXXXXXXXXXXXXXXX.......................................... +............XXXXXXXXXXXXXXXXXXXXXXX............................................. +...........XXXXXXXXXXXXXXXXXXXXX................................................ +...........XXXXXXXXXXXXXXXXXX................................................... +...........XXXXXXXXXXXXXX....................................................... ...........XXXXXXXXXXX.......................................................... ..........XXXXXXXXX............................................................. ..........XXXXXX................................................................ -..........XXX................................................................... -..........X..................................................................... +..........XX.................................................................... +................................................................................ ................................................................................ ................................................................................ ................................................................................ @@ -2000,7 +2000,7 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0, 0.1); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0, 0); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } @@ -2008,55 +2008,56 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { BOOST_TEST_CONTEXT("AbsoluteCartesian(1, 1.2)") { std::string reference = R"X( ................................................................................ -.....................................................XXX........................ +.....................................................XXXX....................... ..................................................XXXXXXX....................... -...............................................XXXXXXXXXX....................... -...........................................XXXXXXXXXXXXXX....................... +..............................................XXXXXXXXXXX....................... +...........................................XXXXXXXXXXXXXXX...................... ........................................XXXXXXXXXXXXXXXXXX...................... -.....................................XXXXXXXXXXXXXXXXXXXXX...................... -..................................XXXXXXXXXXXXXXXXXXXXXXXXX..................... +.....................................XXXXXXXXXXXXXXXXXXXXXX..................... +.................................XXXXXXXXXXXXXXXXXXXXXXXXXX..................... ..............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... ........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. ...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ ..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... @@ -2065,13 +2066,12 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. .......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ .......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... +.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................... @@ -2082,10 +2082,10 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { .....XXXXXXXXXXXXXXXXXXXXXXX.................................................... .....XXXXXXXXXXXXXXXXXXXX....................................................... .....XXXXXXXXXXXXXXXXX.......................................................... -......XXXXXXXXXXXXX............................................................. -......XXXXXXXXX................................................................. -......XXXXXX.................................................................... -......XXX....................................................................... +.....XXXXXXXXXXXXXX............................................................. +.....XXXXXXXXXX................................................................. +.....XXXXXXX.................................................................... +.....XXXX....................................................................... ................................................................................ )X"; @@ -2103,21 +2103,21 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ................................................................................ ................................................................................ ................................................................................ -.....................................................XXX........................ -..................................................XXXXXXX....................... -...............................................XXXXXXXXXX....................... -............................................XXXXXXXXXXXXX....................... +.....................................................XX......................... +..................................................XXXXX......................... +...............................................XXXXXXXXX........................ +............................................XXXXXXXXXXXX........................ ........................................XXXXXXXXXXXXXXXXX....................... .....................................XXXXXXXXXXXXXXXXXXXX....................... ..................................XXXXXXXXXXXXXXXXXXXXXXX....................... ...............................XXXXXXXXXXXXXXXXXXXXXXXXXXX...................... ...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... ........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. @@ -2156,7 +2156,7 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................. +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................................... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................... @@ -2187,21 +2187,21 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { std::string reference = R"X( ................................................................................ ................................................................................ -.....................................................XX......................... -..................................................XXXXX......................... -...............................................XXXXXXXX......................... -...........................................XXXXXXXXXXXX......................... -........................................XXXXXXXXXXXXXXX......................... -.....................................XXXXXXXXXXXXXXXXXX......................... -..................................XXXXXXXXXXXXXXXXXXXXX......................... -..............................XXXXXXXXXXXXXXXXXXXXXXXXXX........................ -...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +................................................................................ +................................................................................ +................................................................................ +................................................................................ +................................................................................ +....................................................XXX......................... +.................................................XXXXXX......................... +.............................................XXXXXXXXXXX........................ +..........................................XXXXXXXXXXXXXX........................ +.......................................XXXXXXXXXXXXXXXXXX....................... +....................................XXXXXXXXXXXXXXXXXXXXX....................... +................................XXXXXXXXXXXXXXXXXXXXXXXXX....................... +.............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... .....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... @@ -2238,31 +2238,31 @@ BOOST_AUTO_TEST_CASE(Trapezoid) { .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................................... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................... -........XXXXXXXXXXXXXXXXXXXXXXXXXXX............................................. -........XXXXXXXXXXXXXXXXXXXXXXX................................................. -.......XXXXXXXXXXXXXXXXXXXXX.................................................... -.......XXXXXXXXXXXXXXXXXX....................................................... -.......XXXXXXXXXXXXXXX.......................................................... -.......XXXXXXXXXXXX............................................................. -.......XXXXXXXX................................................................. -.......XXXXX.................................................................... -.......XX....................................................................... +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................................... +.........XXXXXXXXXXXXXXXXXXXXXXXXXXX............................................ +.........XXXXXXXXXXXXXXXXXXXXXXXX............................................... +.........XXXXXXXXXXXXXXXXXXXXX.................................................. +........XXXXXXXXXXXXXXXXXX...................................................... +........XXXXXXXXXXXXXXX......................................................... +........XXXXXXXXXXXX............................................................ +........XXXXXXXXX............................................................... +.......XXXXXX................................................................... +.......XXX...................................................................... +................................................................................ +................................................................................ +................................................................................ +................................................................................ +................................................................................ ................................................................................ ................................................................................ )X"; @@ -2476,8 +2476,8 @@ BOOST_AUTO_TEST_CASE(Annulus) { ................................................................................ ................................................................................ ................................................................................ -...................................XXX.......................................... -................................XXXXXXXXX....................................... +...................................XXXX......................................... +.................................XXXXXXXX....................................... ...............................XXXXXXXXXXX...................................... ..............................XXXXXXXXXXXXX..................................... ..............................XXXXXXXXXXXXXXX................................... @@ -2497,7 +2497,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { ..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ @@ -2508,7 +2508,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. @@ -2520,7 +2520,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... @@ -2586,7 +2586,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { .................................XXXXXXXXXXXXXXXXX.............................. ................................XXXXXXXXXXXXXXXXXXX............................. ...............................XXXXXXXXXXXXXXXXXXXXXX........................... -..............................XXXXXXXXXXXXXXXXXXXXXXXX.......................... +.............................XXXXXXXXXXXXXXXXXXXXXXXXX.......................... ............................XXXXXXXXXXXXXXXXXXXXXXXXXXX......................... ...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... ..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... @@ -2662,51 +2662,51 @@ BOOST_AUTO_TEST_CASE(Annulus) { ................................................................................ ................................................................................ ................................................................................ -.....................................X.......................................... -....................................XX.XX....................................... -....................................XXXXXXX..................................... -....................................XXXXXXXX.................................... -...................................XXXXXXXXXXX.................................. -..................................XXXXXXXXXXXXXX................................ -..................................XXXXXXXXXXXXXXXX.............................. -.................................XXXXXXXXXXXXXXXXXX............................. -................................XXXXXXXXXXXXXXXXXXXXX........................... -................................XXXXXXXXXXXXXXXXXXXXXXX......................... -...............................XXXXXXXXXXXXXXXXXXXXXXXXX........................ -..............................XXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -.............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. -...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXX................................... -..................XXXXXXXXXXXXXXXXXXXXXXXXX..................................... -..................XXXXXXXXXXXXXXXXXXXXXXXX...................................... -..................XXXXXXXXXXXXXXXXXXXXXX........................................ -...................XXXXXXXXXXXXXXXXXXX.......................................... -...................XXXXXXXXXXXXXXXXX............................................ -...................XXXXXXXXXXXXXXX.............................................. -...................XXXXXXXXXXXX................................................. -...................XXXXXXXXXX................................................... -.......................XXX...................................................... +......................................XXXX...................................... +....................................XXXXX....................................... +...................................XXXXXX....................................... +..................................XXXXXXXX...................................... +...................................XXXXXXXX..................................... +..................................XXXXXXXXXXX................................... +................................XXXXXXXXXXXXXX.................................. +................................XXXXXXXXXXXXXXX................................. +...............................XXXXXXXXXXXXXXXXXX............................... +..............................XXXXXXXXXXXXXXXXXXXX.............................. +.............................XXXXXXXXXXXXXXXXXXXXXXX............................ +............................XXXXXXXXXXXXXXXXXXXXXXXXX........................... +...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.........X.............. +.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......XX.............. +........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....XXX.............. +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..XXX............... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................. +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. +................XXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................... +................XXXXXXXXXXXXXXXXXXXXXXXXXXX..................................... +................XXXXXXXXXXXXXXXXXXXXXXXXX....................................... +................XXXXXXXXXXXXXXXXXXXXXXX......................................... +................XXXXXXXXXXXXXXXXXXXXX........................................... +................XXXXXXXXXXXXXXXXXX.............................................. +................XXXXXXXXXXXXXXXXX............................................... +................XXXXXXXXXXXXX................................................... ................................................................................ ................................................................................ ................................................................................ @@ -2728,7 +2728,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { )X"; BoundaryTolerance tolerance = - BoundaryTolerance::Chi2Bound(SquareMatrix2::Identity(), 0.1); + BoundaryTolerance::Chi2Bound(Vector2(1, 10).asDiagonal(), 0.1); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.5), parseMatrix(reference))); } @@ -2748,59 +2748,59 @@ BOOST_AUTO_TEST_CASE(Annulus) { ................................................................................ ................................................................................ ................................................................................ -................................................................................ -...................................X............................................ -..................................XXX........................................... -..................................XXXX.......................................... -.................................XXXXXX......................................... -................................XXXXXXXX........................................ -...............................XXXXXXXXXXX...................................... -...............................XXXXXXXXXXXX..................................... -..............................XXXXXXXXXXXXXX.................................... -.............................XXXXXXXXXXXXXXXX................................... -............................XXXXXXXXXXXXXXXXXX.................................. -...........................XXXXXXXXXXXXXXXXXXXX................................. -..........................XXXXXXXXXXXXXXXXXXXXXX................................ -.........................XXXXXXXXXXXXXXXXXXXXXXXXX.............................. -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +....................................XX.......................................... +....................................XXX......................................... +....................................XXXX........................................ +....................................XXXXXX...................................... +....................................XXXXXXX..................................... +...................................XXXXXXXXX.................................... +..................................XXXXXXXXXXXX.................................. +..................................XXXXXXXXXXXXX................................. +.................................XXXXXXXXXXXXXXXX............................... +................................XXXXXXXXXXXXXXXXXX.............................. +...............................XXXXXXXXXXXXXXXXXXXX............................. +..............................XXXXXXXXXXXXXXXXXXXXXXX........................... +.............................XXXXXXXXXXXXXXXXXXXXXXXXX.......................... +............................XXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ .................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ -.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -........................XXXXXXXXXXXXXXXXXXXXXXXXXX.............................. -........................XXXXXXXXXXXXXXXXXXXXXXXX................................ -.........................XXXXXXXXXXXXXXXXXXXXXX................................. -.........................XXXXXXXXXXXXXXXXXXXXX.................................. -..........................XXXXXXXXXXXXXXXXXX.................................... -..........................XXXXXXXXXXXXXXXXX..................................... -..........................XXXXXXXXXXXXXXX....................................... -...........................XXXXXXXXXXXX......................................... -...........................XXXXXXXXXXX.......................................... -............................XXXXXXXX............................................ -............................XXXXXX.............................................. -.............................XXX................................................ -.............................X.................................................. +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. +......................XXXXXXXXXXXXXXXXXXXXXXXXXXX............................... +.......................XXXXXXXXXXXXXXXXXXXXXXXXX................................ +.......................XXXXXXXXXXXXXXXXXXXXXXXX................................. +.......................XXXXXXXXXXXXXXXXXXXXXX................................... +........................XXXXXXXXXXXXXXXXXXXX.................................... +........................XXXXXXXXXXXXXXXXXXX..................................... +.........................XXXXXXXXXXXXXXXX....................................... +.........................XXXXXXXXXXXXXXX........................................ +.........................XXXXXXXXXXXXX.......................................... +..........................XXXXXXXXXX............................................ +..........................XXXXXXXXX............................................. +..........................XXXXXXX............................................... +...........................XXXX................................................. +...........................XXX.................................................. +............................X................................................... +................................................................................ ................................................................................ ................................................................................ ................................................................................ @@ -2818,7 +2818,7 @@ BOOST_AUTO_TEST_CASE(Annulus) { )X"; BoundaryTolerance tolerance = - BoundaryTolerance::Chi2Bound(SquareMatrix2::Identity(), -0.1); + BoundaryTolerance::Chi2Bound(Vector2(1, 10).asDiagonal(), -0.1); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance), parseMatrix(reference))); } @@ -2920,18 +2920,18 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................................................................................ ................................................................................ ................................................................................ -...............................XX............................................... -...............................XXX.............................................. +................................................................................ +................................XX.............................................. ...............................XXXXX............................................ ..............................XXXXXXX........................................... -..............................XXXXXXXXX......................................... +.............................XXXXXXXXXX......................................... .............................XXXXXXXXXXX........................................ -.............................XXXXXXXXXXXXX...................................... +............................XXXXXXXXXXXXXX...................................... ............................XXXXXXXXXXXXXXXX.................................... -............................XXXXXXXXXXXXXXXXX................................... +...........................XXXXXXXXXXXXXXXXXX................................... ...........................XXXXXXXXXXXXXXXXXXXX................................. ..........................XXXXXXXXXXXXXXXXXXXXXX................................ -..........................XXXXXXXXXXXXXXXXXXXXXXXX.............................. +.........................XXXXXXXXXXXXXXXXXXXXXXXXX.............................. .........................XXXXXXXXXXXXXXXXXXXXXXXXXX............................. ........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... .......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... @@ -2939,56 +2939,56 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... ....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... +.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... .......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... +........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... ........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ .........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... ...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... .............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................. ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................... -...............XXXXXXXXXXXXXXXXXXXXXXXXXX....................................... -...............XXXXXXXXXXXXXXXXXXXXXXXX......................................... -................XXXXXXXXXXXXXXXXXXXXX........................................... -................XXXXXXXXXXXXXXXXXXX............................................. -................XXXXXXXXXXXXXXXXX............................................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXX...................................... +...............XXXXXXXXXXXXXXXXXXXXXXXXX........................................ +................XXXXXXXXXXXXXXXXXXXXXX.......................................... +................XXXXXXXXXXXXXXXXXXXX............................................ +................XXXXXXXXXXXXXXXXXX.............................................. ................XXXXXXXXXXXXXXX................................................. -.................XXXXXXXXXXX.................................................... +.................XXXXXXXXXXXX................................................... .................XXXXXXXXX...................................................... -.................XXXXXX......................................................... -.................XXX............................................................ +.................XXXXX.......................................................... +................................................................................ ................................................................................ ................................................................................ ................................................................................ @@ -3008,84 +3008,84 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................................................................................ ................................................................................ ................................................................................ -............................XX.................................................. -............................XXXX................................................ -...........................XXXXXX............................................... -...........................XXXXXXXX............................................. -..........................XXXXXXXXXX............................................ -..........................XXXXXXXXXXX........................................... -.........................XXXXXXXXXXXXXX......................................... -.........................XXXXXXXXXXXXXXX........................................ -........................XXXXXXXXXXXXXXXXXX...................................... -.......................XXXXXXXXXXXXXXXXXXXX..................................... -.......................XXXXXXXXXXXXXXXXXXXXX.................................... -......................XXXXXXXXXXXXXXXXXXXXXXXX.................................. -.....................XXXXXXXXXXXXXXXXXXXXXXXXXX................................. -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... -.......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... -...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... -.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +..............................X................................................. +...............................XX............................................... +................................XX.............................................. +..................................XX............................................ +..................................XXX........................................... +..................................XXXX.......................................... +.................................XXXXXXX........................................ +.................................XXXXXXXX....................................... +................................XXXXXXXXXXX..................................... +................................XXXXXXXXXXXX.................................... +...............................XXXXXXXXXXXXXXX.................................. +..............................XXXXXXXXXXXXXXXXX................................. +..............................XXXXXXXXXXXXXXXXXX................................ +.............................XXXXXXXXXXXXXXXXXXXXX.............................. +............................XXXXXXXXXXXXXXXXXXXXXXX............................. +...........................XXXXXXXXXXXXXXXXXXXXXXXXXX........................... +..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... +..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... -................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... -...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................ -...................XXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. -...................XXXXXXXXXXXXXXXXXXXXXXXXX.................................... -....................XXXXXXXXXXXXXXXXXXXXXXX..................................... -....................XXXXXXXXXXXXXXXXXXXXX....................................... -....................XXXXXXXXXXXXXXXXXXX......................................... -....................XXXXXXXXXXXXXXXXX........................................... -.....................XXXXXXXXXXXXXX............................................. -.....................XXXXXXXXXXX................................................ -.....................XXXXXXXXX.................................................. -......................XXXXXX.................................................... -......................XXX....................................................... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +.........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... +..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +...........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. +............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. +.............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... +..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... +...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... +................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................. +.................XXXXXXXXXXXXXXXXXXXXXXXXXXX.................................... +.................XXXXXXXXXXXXXXXXXXXXXXXXXX..................................... +.................XXXXXXXXXXXXXXXXXXXXXXXX....................................... +..................XXXXXXXXXXXXXXXXXXXXX......................................... +..................XXXXXXXXXXXXXXXXXXX........................................... +..................XXXXXXXXXXXXXXXXX............................................. +...................XXXXXXXXXXXXXX............................................... +...................XXXXXXXXXXXX................................................. +...................XXXXXXXXXX................................................... +...................XXXXXXXX..................................................... +....................XXXX........................................................ +....................XXX......................................................... +....................XXX......................................................... +.....................XX......................................................... ................................................................................ ................................................................................ ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(1, 0.01); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } @@ -3097,11 +3097,11 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................................................................................ ................................................................................ ................................................................................ -......................................X......................................... -......................................XXX....................................... -.....................................XXXXXX..................................... -.....................................XXXXXXX.................................... -....................................XXXXXXXXXX.................................. +................................................................................ +.......................................X........................................ +......................................X..XX..................................... +.....................................X.XXXXX.................................... +.....................................XXXXXXXXX.................................. ....................................XXXXXXXXXXXX................................ ...................................XXXXXXXXXXXXXX............................... ...................................XXXXXXXXXXXXXXXX............................. @@ -3113,39 +3113,39 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ...............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ..............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. .............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... -.............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. -............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +............................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ ...........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ -.........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..... -.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...... -....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... -.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +........................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +.......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....... +.....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +....................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +..................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........ +.................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... ...............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... ..............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......... ............XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......... ..........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... -......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ -....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. +.....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........... +..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............ +..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............. ...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............. ...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............... ...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ -...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. +...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................ ...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................. ...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................. ....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... ....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... +....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... ....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................... -....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................... ....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................ ....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................... .....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................... .....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................... -.....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................. +.....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................ .....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................. .....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................... .....XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................. @@ -3153,19 +3153,19 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................................... ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................... ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................................... -......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................................... +......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................................ ......XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................... .......XXXXXXXXXXXXXXXXXXXXXXXXXXXXX............................................ .......XXXXXXXXXXXXXXXXXXXXXXXXXXX.............................................. .......XXXXXXXXXXXXXXXXXXXXXXXXX................................................ .......XXXXXXXXXXXXXXXXXXXXXXX.................................................. -.......XXXXXXXXXXXXXXXXXXXX..................................................... +.......XXXXXXXXXXXXXXXXXXXXX.................................................... .......XXXXXXXXXXXXXXXXXX....................................................... -........XXXXXXXXXXXXXX.......................................................... +........XXXXXXXXXXXXXXX......................................................... ........XXXXXXXXXXXX............................................................ -........XXXXXXXXX............................................................... ........XXXXXX.................................................................. -........XX...................................................................... +................................................................................ +................................................................................ ................................................................................ ................................................................................ ................................................................................ @@ -3174,11 +3174,12 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................................................................................ )X"; - BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0, 0.1); + BoundaryTolerance tolerance = BoundaryTolerance::AbsoluteBound(0.01, 0.1); BOOST_CHECK(checkMatrices(makeTestMatrix(*surface, tolerance, 0.15), parseMatrix(reference))); } } BOOST_AUTO_TEST_SUITE_END() + } // namespace Acts::Test