mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-23 06:18:13 -06:00
#15088 Well Log Extractor: Use parametric tolerance for well path cell intersections
This commit is contained in:
1 parent
a8805f1b9f
commit
577b4e770e
10 files changed
+252
-16
No files matched your search
@@ -33,7 +33,8 @@ int RigHexIntersectionTools::lineHexCellIntersection( const cvf::Vec3d&
|
||||
const cvf::Vec3d& p2,
|
||||
const std::array<cvf::Vec3d, 8>& hexCorners,
|
||||
const size_t hexIndex,
|
||||
std::vector<HexIntersectionInfo>* intersections )
|
||||
std::vector<HexIntersectionInfo>* intersections,
|
||||
double parametricTolerance )
|
||||
{
|
||||
CAF_ASSERT( intersections != nullptr );
|
||||
|
||||
@@ -61,7 +62,8 @@ int RigHexIntersectionTools::lineHexCellIntersection( const cvf::Vec3d&
|
||||
hexCorners[faceVertexIndices[next]],
|
||||
faceCenter,
|
||||
&intersection,
|
||||
&isEntering );
|
||||
&isEntering,
|
||||
parametricTolerance );
|
||||
if ( intsStatus == 1 )
|
||||
{
|
||||
uniqueIntersections.insert(
|
||||
|
||||
Reference in new issue
Block a user