lenght -> length

This commit is contained in:
Rebecca Cox 2018-03-13 10:55:35 +01:00
parent 60adcf299a
commit ae077b86fd
2 changed files with 3 additions and 3 deletions

View File

@ -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++ )

View File

@ -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);