Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenherje committed Mar 8, 2024
1 parent 88e2b5d commit 4516b6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cvf::uint PolygonVertexWelder::locateVertexInPolygon( const cvf::Vec3d& vertex )
while ( currentIndex != cvf::UNDEFINED_UINT )
{
// Weld point within tolerance
float distanceSquared = ( m_vertex[currentIndex] - vertex ).lengthSquared();
const auto distanceSquared = ( m_vertex[currentIndex] - vertex ).lengthSquared();
if ( distanceSquared < m_epsilonSquared )
{
return currentIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class RivPolylineIntersectionGeometryGenerator
const cvf::Vec3d& endPoint,
const cvf::Vec3d& heightVector,
const double topDepth,
const double bottomDepth );
const double bottomDepth );

static std::vector<cvf::Vec3d> initializePolylineUtmFromPolylineUtmXy( const std::vector<cvf::Vec2d>& polylineUtmXy );

Expand Down

0 comments on commit 4516b6d

Please sign in to comment.