#1593 Use well path unit type on fractures

This commit is contained in:
Bjørnar Grip Fjær
2017-06-20 14:46:58 +02:00
parent 05d210df93
commit d63fdf0c80
9 changed files with 54 additions and 39 deletions

View File

@@ -14,11 +14,11 @@
#include <cmath>
RigWellPathStimplanIntersector::RigWellPathStimplanIntersector(const RigWellPath* wellpathGeom, const RimFracture * rimFracture)
RigWellPathStimplanIntersector::RigWellPathStimplanIntersector(const RigWellPath* wellpathGeom, const RimFracture* rimFracture)
{
std::vector<cvf::Vec3d> wellPathPoints = wellpathGeom->m_wellPathPoints;
cvf::Mat4f fractureXf = rimFracture->transformMatrix();
double wellRadius = rimFracture->wellRadius();
double wellRadius = rimFracture->wellRadius(rimFracture->fractureUnit());
std::vector<cvf::Vec3f> fracturePolygonf ;
std::vector<std::vector<cvf::Vec3d> > stpCellPolygons;
{