#1091 - pre-proto - Updating calculation of fracture area to use functions in RimCellGeometryTools. Calculating area-weighted length for fracture.

This commit is contained in:
astridkbjorke
2017-01-26 10:28:15 +01:00
parent 9c9592ccce
commit f732c1ea24
2 changed files with 39 additions and 76 deletions

View File

@@ -94,9 +94,6 @@ private:
//Functions for area calculations - should these be in separate class
bool planeCellIntersectionPolygons(size_t cellindex, std::vector<std::vector<cvf::Vec3d> > & polygons, cvf::Vec3d & localX, cvf::Vec3d & localY, cvf::Vec3d & localZ);
void calculateFracturePlaneCellPolygonOverlapArea(std::vector<std::vector<cvf::Vec3d> > planeCellPolygons,
std::vector<cvf::Vec3f> fracturePolygon, std::vector<std::vector<cvf::Vec3d> > & clippedPolygons, double & area);
protected:
caf::PdmPtrField<RimEllipseFractureTemplate*> m_fractureTemplate;