mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2175 Intersection: Set length in two directions
This commit is contained in:
@@ -118,7 +118,8 @@ void RicNewAzimuthDipIntersectionFeatureCmd::redo()
|
||||
cvf::BoundingBox bBox = rimCase->allCellsBoundingBox();
|
||||
if (bBox.isValid())
|
||||
{
|
||||
intersection->setHeight(cvf::Math::floor(bBox.extent()[2]));
|
||||
intersection->setLengthUp(cvf::Math::floor(bBox.extent()[2] / 2));
|
||||
intersection->setLengthDown(cvf::Math::floor(bBox.extent()[2] / 2));
|
||||
}
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
|
||||
Reference in New Issue
Block a user