pre-proto - Some cleanup and adding function for getting access to one RigFractureData

This commit is contained in:
astridkbjorke
2017-04-03 14:33:14 +02:00
parent 8255a3aaa3
commit 153bc57dfb
5 changed files with 29 additions and 23 deletions

View File

@@ -202,6 +202,7 @@ void RigCellGeometryTools::findCellLocalXYZ(cvf::Vec3d * hexCorners, cvf::Vec3d
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
//TODO: Suggested rename: polygonLengthWeightedByArea. polygonAverageLengthWeightedByArea
double RigCellGeometryTools::polygonAreaWeightedLength(cvf::Vec3d directionOfLength, std::vector<cvf::Vec3d> polygonToCalcLengthOf)
{
//TODO: Check that polygon is in xy plane