mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#6934 Fix incorrect comparison for extraction bounding box.
This commit is contained in:
1 parent
223cf5357f
commit
4ce0a6ed15
1 file changed
+1
-1
@@ -1017,7 +1017,7 @@ bool RimStimPlanModel::findThicknessTargetPoints( cvf::Vec3d& topPosition, cvf::
|
||||
cvf::BoundingBox geometryBoundingBox( allCellsBoundingBox );
|
||||
|
||||
// Use smaller depth bounding box for extraction if configured
|
||||
if ( m_extractionDepthTop > 0.0 && m_extractionDepthBottom > 0.0 && m_extractionDepthTop > m_extractionDepthBottom )
|
||||
if ( m_extractionDepthTop > 0.0 && m_extractionDepthBottom > 0.0 && m_extractionDepthTop < m_extractionDepthBottom )
|
||||
{
|
||||
cvf::Vec3d bbMin( allCellsBoundingBox.min().x(), allCellsBoundingBox.min().y(), -m_extractionDepthBottom );
|
||||
cvf::Vec3d bbMax( allCellsBoundingBox.max().x(), allCellsBoundingBox.max().y(), -m_extractionDepthTop );
|
||||
|
||||
Reference in new issue
Block a user