Merge pull request #8168 from OPM/intersection_displacement

GeoMech: Support showing displacements on intersections, too
This commit is contained in:
jonjenssen
2021-10-20 01:41:14 +02:00
committed by GitHub
parent 3fa59a9fc3
commit 059f30236b
8 changed files with 61 additions and 21 deletions

View File

@@ -31,11 +31,12 @@
class RigFemPart;
class RigFemPartCollection;
class RigFault;
class RimGeoMechPartCollection;
class RivFemIntersectionGrid : public RivIntersectionHexGridInterface
{
public:
explicit RivFemIntersectionGrid( const RigFemPartCollection* femParts );
explicit RivFemIntersectionGrid( const RigFemPartCollection* femParts, const RimGeoMechPartCollection* parts );
cvf::Vec3d displayOffset() const override;
cvf::BoundingBox boundingBox() const override;
@@ -49,4 +50,5 @@ public:
private:
cvf::cref<RigFemPartCollection> m_femParts;
const RimGeoMechPartCollection* m_parts;
};