mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2663 Rename
This commit is contained in:
@@ -282,18 +282,16 @@ std::vector<cvf::Vec3d> RigWellPath::wellPathPointsIncludingInterpolatedIntersec
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigWellPath::isPolylineTouchingBBox(const std::vector<cvf::Vec3d> &polyLine,
|
||||
const cvf::BoundingBox& caseBB)
|
||||
bool RigWellPath::isAnyPointInsideBoundingBox(const std::vector<cvf::Vec3d>& points, const cvf::BoundingBox& boundingBox)
|
||||
{
|
||||
for ( const cvf::Vec3d& point : polyLine )
|
||||
for (const cvf::Vec3d& point : points)
|
||||
{
|
||||
if ( caseBB.contains(point) ) return true;
|
||||
if (boundingBox.contains(point)) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -60,8 +60,8 @@ public:
|
||||
|
||||
std::vector<cvf::Vec3d> wellPathPointsIncludingInterpolatedIntersectionPoint(double intersectionMeasuredDepth) const;
|
||||
|
||||
static bool isPolylineTouchingBBox(const std::vector<cvf::Vec3d> &polyLine,
|
||||
const cvf::BoundingBox& caseBB);
|
||||
static bool isAnyPointInsideBoundingBox(const std::vector<cvf::Vec3d>& points, const cvf::BoundingBox& boundingBox);
|
||||
|
||||
static std::vector<cvf::Vec3d> clipPolylineStartAboveZ(const std::vector<cvf::Vec3d> &polyLine,
|
||||
double maxZ,
|
||||
double * horizontalLengthAlongWellToClipPoint,
|
||||
|
||||
Reference in New Issue
Block a user