#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

@@ -12,11 +12,12 @@
#include "cvfMath.h"
#include <cmath>
#include "RimSimWellFracture.h"
RigWellPathStimplanIntersector::RigWellPathStimplanIntersector(const RigWellPath* wellpathGeom, const RimFracture* rimFracture)
RigWellPathStimplanIntersector::RigWellPathStimplanIntersector(const RigWellPath* wellpathGeom, RimFracture* rimFracture)
{
std::vector<cvf::Vec3d> wellPathPoints = wellpathGeom->m_wellPathPoints;
std::vector<cvf::Vec3d> wellPathPoints = wellpathGeom->wellPathPointsIncludingFractureIntersection(rimFracture->fractureMD());
cvf::Mat4d fractureXf = rimFracture->transformMatrix();
double wellRadius = rimFracture->wellRadius(rimFracture->fractureUnit());
std::vector<cvf::Vec3f> fracturePolygonf ;