Slightly improve speed of Contour Map volume intersection + renames

This commit is contained in:
Gaute Lindkvist
2020-12-03 09:19:32 +01:00
parent 6a2baf9c45
commit c3c451f0f4
6 changed files with 98 additions and 52 deletions

View File

@@ -708,7 +708,7 @@ cvf::ref<cvf::Part> RivWellFracturePartMgr::createContainmentMaskPart( const Rim
// Clip Eclipse cell polygon with fracture border
std::vector<std::vector<cvf::Vec3d>> clippedPolygons =
RigCellGeometryTools::intersectPolygons( eclCellPolygon, borderPolygonLocalCsd );
RigCellGeometryTools::intersectionWithPolygon( eclCellPolygon, borderPolygonLocalCsd );
for ( auto& clippedPolygon : clippedPolygons )
{
for ( auto& v : clippedPolygon )