#1714 Adding point at fracture position to the vector of wellPathPoints used in calculation of intersection between fracture and wellpath.

This commit is contained in:
astridkbjorke
2017-08-02 11:13:27 +02:00
parent 7e44fe185e
commit d55c362bf0
8 changed files with 44 additions and 12 deletions

View File

@@ -95,6 +95,7 @@ public:
virtual void updateAzimuthBasedOnWellAzimuthAngle() = 0;
virtual double wellAzimuthAtFracturePosition() const = 0;
virtual double fractureMD() const = 0;
protected:
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override;

View File

@@ -46,6 +46,8 @@ public:
double wellAzimuthAtFracturePosition() const override;
double wellDipAtFracturePosition();
double fractureMD() const override { return m_location; }
int branchIndex() const { return m_branchIndex(); }

View File

@@ -47,14 +47,6 @@ RimWellPathFracture::RimWellPathFracture(void)
RimWellPathFracture::~RimWellPathFracture()
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RimWellPathFracture::measuredDepth() const
{
return m_measuredDepth();
}
//--------------------------------------------------------------------------------------------------
///

View File

@@ -37,7 +37,7 @@ public:
RimWellPathFracture(void);
virtual ~RimWellPathFracture(void);
double measuredDepth() const;
double fractureMD() const override { return m_measuredDepth; }
void setMeasuredDepth(double mdValue);
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;