Simplify contour lines more for really large models

This commit is contained in:
Gaute Lindkvist 2020-12-03 09:22:07 +01:00
parent 4dff9e2ca5
commit 307f9e94b1

View File

@ -1128,6 +1128,10 @@ void RimContourMapProjection::generateContourPolygons()
{
simplifyEpsilon *= 2.0;
}
else if ( numberOfCells() > 1000000 )
{
simplifyEpsilon *= 4.0;
}
std::vector<caf::ContourLines::ListOfLineSegments> unorderedLineSegmentsPerLevel =
caf::ContourLines::create( m_aggregatedVertexResults, xVertexPositions(), yVertexPositions(), contourLevels );