#5273 Allen Diagrams: Compute complete set of NNCs

Add class RigNncConnection
Implement algorithm to compute the complete set of Nncs
This commit is contained in:
Magne Sjaastad
2020-01-15 08:45:40 +01:00
parent 360893817e
commit fa791d0568
9 changed files with 352 additions and 32 deletions

View File

@@ -26,6 +26,7 @@
class RigCell;
class RigMainGrid;
class RigConnection;
//==================================================================================================
///
@@ -38,4 +39,11 @@ public:
const RigMainGrid& mainGrid,
std::vector<size_t>* connectionPolygon,
std::vector<cvf::Vec3d>* connectionIntersections );
static std::vector<RigConnection> computeOtherNncs( const RigMainGrid* mainGrid,
const std::vector<RigConnection>& nativeConnections );
static std::vector<cvf::Vec3d> extractPolygon( const std::vector<cvf::Vec3d>& nativeNodes,
const std::vector<size_t>& connectionPolygon,
const std::vector<cvf::Vec3d>& connectionIntersections );
};