mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
pre-proto - Rename (and adding todo-s for further work)
This commit is contained in:
@@ -39,15 +39,15 @@ RigFracture::RigFracture()
|
||||
void RigFracture::setGeometry(const std::vector<cvf::uint>& polygonIndices, const std::vector<cvf::Vec3f>& nodeCoords)
|
||||
{
|
||||
m_nodeCoords = nodeCoords;
|
||||
m_polygonIndices = polygonIndices;
|
||||
m_triangleIndices = polygonIndices;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const std::vector<cvf::uint>& RigFracture::polygonIndices() const
|
||||
const std::vector<cvf::uint>& RigFracture::triangleIndices() const
|
||||
{
|
||||
return m_polygonIndices;
|
||||
return m_triangleIndices;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -47,14 +47,14 @@ public:
|
||||
|
||||
void setGeometry(const std::vector<cvf::uint>& polygonIndices, const std::vector<cvf::Vec3f>& nodeCoords);
|
||||
|
||||
const std::vector<cvf::uint>& polygonIndices() const;
|
||||
const std::vector<cvf::uint>& triangleIndices() const;
|
||||
const std::vector<cvf::Vec3f>& nodeCoords() const;
|
||||
|
||||
void setFractureData(const std::vector<RigFractureData>& data);
|
||||
const std::vector<RigFractureData>& fractureData() const; //Access frac data
|
||||
|
||||
private:
|
||||
std::vector<cvf::uint> m_polygonIndices;
|
||||
std::vector<cvf::uint> m_triangleIndices;
|
||||
std::vector<cvf::Vec3f> m_nodeCoords;
|
||||
std::vector<RigFractureData> m_fractureData;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user