mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6314 Fix typo
Co-authored-by: Ruben Manuel Thoms <ruben.thoms@ceetronsolutions.com>
This commit is contained in:
parent
0bd328f4df
commit
4f68f2b11a
@ -269,7 +269,7 @@ void RimGridCaseSurface::extractDataFromGrid()
|
||||
}
|
||||
|
||||
m_vertices = vertices;
|
||||
m_tringleIndices = triangleIndices;
|
||||
m_triangleIndices = triangleIndices;
|
||||
m_structGridIndices = structGridVertexIndices;
|
||||
}
|
||||
}
|
||||
@ -344,7 +344,7 @@ bool RimGridCaseSurface::findValidCellIndex( const RigMainGrid*
|
||||
void RimGridCaseSurface::clearCachedNativeData()
|
||||
{
|
||||
m_vertices.clear();
|
||||
m_tringleIndices.clear();
|
||||
m_triangleIndices.clear();
|
||||
m_structGridIndices.clear();
|
||||
}
|
||||
|
||||
@ -353,14 +353,14 @@ void RimGridCaseSurface::clearCachedNativeData()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimGridCaseSurface::updateSurfaceData()
|
||||
{
|
||||
if ( m_vertices.empty() || m_tringleIndices.empty() || m_structGridIndices.empty() )
|
||||
if ( m_vertices.empty() || m_triangleIndices.empty() || m_structGridIndices.empty() )
|
||||
{
|
||||
extractDataFromGrid();
|
||||
}
|
||||
|
||||
RigSurface* surfaceData = nullptr;
|
||||
|
||||
std::vector<unsigned> tringleIndices{m_tringleIndices};
|
||||
std::vector<unsigned> tringleIndices{m_triangleIndices};
|
||||
std::vector<cvf::Vec3d> vertices{m_vertices};
|
||||
|
||||
RiaDefines::GridCaseAxis sliceDirection = RiaDefines::GridCaseAxis::AXIS_K;
|
||||
@ -409,7 +409,7 @@ bool RimGridCaseSurface::updateSurfaceData()
|
||||
bool RimGridCaseSurface::exportStructSurfaceFromGridCase( std::vector<cvf::Vec3d>* vertices,
|
||||
std::vector<std::pair<uint, uint>>* structGridVertexIndices )
|
||||
{
|
||||
if ( m_vertices.empty() || m_tringleIndices.empty() || m_structGridIndices.empty() )
|
||||
if ( m_vertices.empty() || m_triangleIndices.empty() || m_structGridIndices.empty() )
|
||||
{
|
||||
extractDataFromGrid();
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ private:
|
||||
caf::PdmPtrField<RimCase*> m_case;
|
||||
caf::PdmField<int> m_oneBasedSliceIndex;
|
||||
|
||||
std::vector<unsigned> m_tringleIndices;
|
||||
std::vector<unsigned> m_triangleIndices;
|
||||
std::vector<cvf::Vec3d> m_vertices;
|
||||
std::vector<std::pair<unsigned, unsigned>> m_structGridIndices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user