#3289 Well path creation. When clicking on a well path, use tangent. Rename arguments

This commit is contained in:
Bjørn Erik Jensen
2018-10-01 10:07:43 +02:00
parent 5a51111db2
commit 063b7121b1
4 changed files with 109 additions and 15 deletions

View File

@@ -40,12 +40,12 @@ public:
RimWellPath* wellPath() const;
size_t segmentIndex(size_t triangleIndex) const;
double measuredDepth(size_t triangleIndex, const cvf::Vec3d& globalIntersection) const;
cvf::Vec3d closestPointOnCenterLine(size_t triangleIndex, const cvf::Vec3d& globalIntersection) const;
double measuredDepth(size_t triangleIndex, const cvf::Vec3d& globalIntersectionInDomain) const;
cvf::Vec3d closestPointOnCenterLine(size_t triangleIndex, const cvf::Vec3d& globalIntersectionInDomain) const;
private:
void normalizedIntersection(size_t triangleIndex,
const cvf::Vec3d& globalIntersection,
const cvf::Vec3d& globalIntersectionInDomain,
size_t* firstSegmentIndex,
double* normalizedSegmentIntersection) const;