mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Remove confusing defaultExtent for an intersection
This commit is contained in:
parent
8259220abd
commit
c89e00b966
@ -328,8 +328,6 @@ void RimExtrudedCurveIntersection::defineUiOrdering( QString uiConfigName, caf::
|
||||
|
||||
this->defineSeparateDataSourceUi( uiConfigName, uiOrdering );
|
||||
|
||||
updateWellExtentDefaultValue();
|
||||
|
||||
uiOrdering.skipRemainingFields( true );
|
||||
}
|
||||
|
||||
@ -626,24 +624,6 @@ void RimExtrudedCurveIntersection::addExtents( std::vector<cvf::Vec3d>& polyLine
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimExtrudedCurveIntersection::updateWellExtentDefaultValue()
|
||||
{
|
||||
RimCase* ownerCase = nullptr;
|
||||
firstAncestorOrThisOfType( ownerCase );
|
||||
|
||||
if ( ownerCase )
|
||||
{
|
||||
cvf::BoundingBox caseBB = ownerCase->activeCellsBoundingBox();
|
||||
if ( m_extentLength == m_extentLength.defaultValue() && caseBB.radius() < 1000 )
|
||||
{
|
||||
m_extentLength = caseBB.radius() * 0.1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -139,7 +139,6 @@ private:
|
||||
RimSimWellInViewCollection* simulationWellCollection() const;
|
||||
void updateAzimuthLine();
|
||||
void updateSimulationWellCenterline() const;
|
||||
void updateWellExtentDefaultValue();
|
||||
void addExtents( std::vector<cvf::Vec3d>& polyLine ) const;
|
||||
void updateName();
|
||||
static double azimuthInRadians( cvf::Vec3d vec );
|
||||
|
Loading…
Reference in New Issue
Block a user