#5273 Allen Diagrams: Add RigCellFaceGeometryTools

This commit is contained in:
Magne Sjaastad
2020-01-14 09:34:27 +01:00
parent 0abd839669
commit 360893817e
7 changed files with 171 additions and 120 deletions

View File

@@ -20,6 +20,7 @@
#include "RigSimulationWellCenterLineCalculator.h"
#include "RigCell.h"
#include "RigCellFaceGeometryTools.h"
#include "RigEclipseCaseData.h"
#include "RigMainGrid.h"
@@ -800,11 +801,12 @@ private:
std::vector<size_t> poygonIndices;
std::vector<cvf::Vec3d> intersections;
auto contactFace = RigNNCData::calculateCellFaceOverlap( c1,
c2,
*( m_eclipseCaseData->mainGrid() ),
&poygonIndices,
&intersections );
auto contactFace =
RigCellFaceGeometryTools::calculateCellFaceOverlap( c1,
c2,
*( m_eclipseCaseData->mainGrid() ),
&poygonIndices,
&intersections );
if ( contactFace != cvf::StructGridInterface::NO_FACE )
{