EgtGeomKernel 1.9k3 :
- for each (.. in ..) sostituito da for ( .. : ..) vero costrutto C++.
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ PointGrid3d::FindNearest( const Point3d& ptTest, INTVECTOR& vnIds)
|
||||
bool bFound = false ;
|
||||
double dMinDist ;
|
||||
double dSqMinDist ;
|
||||
for each ( const auto& PntI in m_MMap) {
|
||||
for ( const auto& PntI : m_MMap) {
|
||||
// quadrato della distanza
|
||||
double dSqDist = SqDist( ptTest, PntI.second.first) ;
|
||||
// altro punto con la stessa minima distanza già trovata
|
||||
|
||||
Reference in New Issue
Block a user