mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
lenght -> length
This commit is contained in:
parent
60adcf299a
commit
ae077b86fd
@ -474,7 +474,7 @@ void RivPipeGeometryGenerator::updateFilteredPipeCenterCoords()
|
||||
|
||||
const size_t lastOriginalCoordIdx = m_originalPipeCenterCoords->size() - 1;
|
||||
|
||||
size_t firstSegmentWithLength = findFirstSegmentWithLenght(squareDistanceTolerance);
|
||||
size_t firstSegmentWithLength = findFirstSegmentWithLength(squareDistanceTolerance);
|
||||
|
||||
// Return if we have only zero-length segments
|
||||
|
||||
@ -562,7 +562,7 @@ void RivPipeGeometryGenerator::updateFilteredPipeCenterCoords()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RivPipeGeometryGenerator::findFirstSegmentWithLenght(double squareDistanceTolerance)
|
||||
size_t RivPipeGeometryGenerator::findFirstSegmentWithLength(double squareDistanceTolerance)
|
||||
{
|
||||
size_t segIdx;
|
||||
for ( segIdx = 0; segIdx < m_originalPipeCenterCoords->size() - 1; segIdx++ )
|
||||
|
@ -69,7 +69,7 @@ private:
|
||||
void clearComputedData();
|
||||
void updateFilteredPipeCenterCoords();
|
||||
|
||||
size_t findFirstSegmentWithLenght(double squareDistanceTolerance);
|
||||
size_t findFirstSegmentWithLength(double squareDistanceTolerance);
|
||||
|
||||
static void computeCircle(double radius, size_t tesselationCount, const cvf::Vec3d& center, const cvf::Vec3d& orient1, const cvf::Vec3d& orient2, std::vector<cvf::Vec3d>* nodes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user