mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8029 Ensemble Fracture Statistics: improve area of statistics result
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "RiaLogging.h"
|
||||
|
||||
#include "cvfGeometryTools.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -107,3 +109,11 @@ double RigFractureCell::area() const
|
||||
{
|
||||
return cellSizeX() * cellSizeZ();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RigFractureCell::centerPosition() const
|
||||
{
|
||||
return cvf::GeometryTools::computePolygonCenter( m_polygon );
|
||||
}
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
double cellSizeZ() const;
|
||||
double area() const;
|
||||
|
||||
cvf::Vec3d centerPosition() const;
|
||||
|
||||
private:
|
||||
std::vector<cvf::Vec3d> m_polygon;
|
||||
double m_conductivityValue;
|
||||
|
||||
Reference in New Issue
Block a user