clang-format: Set column width to 140

* Set column width to 140
* Use c++20
* Remove redundant virtual
This commit is contained in:
Magne Sjaastad
2023-02-26 10:48:40 +01:00
committed by GitHub
parent 8768e186d8
commit f8c5cf389f
1535 changed files with 10456 additions and 19398 deletions

View File

@@ -44,13 +44,11 @@ TEST( RigHexIntersectionTools, planeHexCellIntersectionTest )
cvf::Plane fracturePlane;
fracturePlane.setFromPointAndNormal( cvf::Vec3d( 0.5, 0.5, 0.5 ), cvf::Vec3d( 1, 0, 0 ) );
isCellIntersected =
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
EXPECT_TRUE( isCellIntersected );
fracturePlane.setFromPointAndNormal( cvf::Vec3d( 1.5, 1.5, 1.5 ), cvf::Vec3d( 1, 0, 0 ) );
isCellIntersected =
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
EXPECT_FALSE( isCellIntersected );
}
@@ -88,12 +86,10 @@ TEST( RigHexIntersectionTools, DISABLED_planeHexCellIntersectionPerformanceTest
{
std::list<std::pair<cvf::Vec3d, cvf::Vec3d>> intersectionLineSegments;
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners,
fracturePlaneIntersecting,
intersectionLineSegments );
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners,
fracturePlaneNotIntersecting,
intersectionLineSegments );
isCellIntersected =
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlaneIntersecting, intersectionLineSegments );
isCellIntersected =
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlaneNotIntersecting, intersectionLineSegments );
}
qDebug() << "Time rim elapsed: " << timeLocal.elapsed();