Janitor : Remove confusing defaultExtent for an intersection

This commit is contained in:
Magne Sjaastad 2021-06-09 14:58:43 +02:00
parent 8259220abd
commit c89e00b966
2 changed files with 0 additions and 21 deletions

View File

@ -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;
}
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -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 );