Merge pull request #8447 from OPM/intersection_filterupdate

Intersection: depth filter updates
This commit is contained in:
jonjenssen
2022-01-16 23:56:00 +01:00
committed by GitHub
parent 376451da2e
commit d9bb82de91
7 changed files with 216 additions and 108 deletions

View File

@@ -292,8 +292,8 @@ void RivExtrudedCurveIntersectionGeometryGenerator::calculateArrays()
const double gridRadius = gridBBox.radius();
// set up our horizontal cut planes
const double topDepth = -1.0 * m_intersection->topDepth( gridRadius );
const double bottomDepth = -1.0 * m_intersection->bottomDepth( gridRadius );
const double topDepth = -1.0 * m_intersection->upperFilterDepth( gridRadius );
const double bottomDepth = -1.0 * m_intersection->lowerFilterDepth( gridRadius );
std::array<cvf::Vec3d, 8> corners;
gridBBox.cornerVertices( corners.data() );