mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add helper class for polygon and 2D binary image operations
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "RigCellGeometryTools.h"
|
||||
#include "RigContourMapGrid.h"
|
||||
#include "RigContourMapProjection.h"
|
||||
#include "RigPolygonTools.h"
|
||||
|
||||
#include "cvfGeometryUtils.h"
|
||||
|
||||
@@ -323,7 +324,7 @@ std::pair<std::vector<RigContourMapTrianglesGenerator::ContourPolygons>, std::ve
|
||||
|
||||
for ( RigContourPolygonsTools::ContourPolygon& polygon : contourPolygons[i] )
|
||||
{
|
||||
RigCellGeometryTools::simplifyPolygon( &polygon.vertices, simplifyEpsilon );
|
||||
RigPolygonTools::simplifyPolygon( polygon.vertices, simplifyEpsilon );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user