Changeset 1072 for cpp/frams/model/similarity/measure-greedy.cpp
- Timestamp:
- 02/08/21 20:49:50 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/similarity/measure-greedy.cpp
r1071 r1072 320 320 // now compute the geometrical distance of these Parts (use coordinates 321 321 // which should be computed by SVD) 322 dGeo = 0;322 323 323 if (m_adFactors[3] > 0) 324 324 { … … 326 326 Pt3D Part1Pos(coordinates[1][iPartIndex[1]]); 327 327 dGeo = Part0Pos.distanceTo(Part1Pos); 328 } 328 } 329 else 330 dGeo = 0; //no need to compute distance when m_dDG weight is 0 329 331 330 332 // tutaj prawdopodobnie należy jeszcze dodać sprawdzanie … … 848 850 DB(_PrintDegrees(0);) 849 851 DB(_PrintDegrees(1);) 852 853 if (m_adFactors[3] == 0) 854 with_alignment = false; 850 855 } 851 856 … … 875 880 SAFEDELETE(m_pMatching); 876 881 882 with_alignment = true; 877 883 } 878 884 … … 1491 1497 m_adFactors[i] = params.at(i); 1492 1498 fixedZaxis = params.at(i); 1493 if (m_adFactors[3] == 0)1494 with_alignment = false;1495 1499 return 0; 1496 1500 }
Note: See TracChangeset
for help on using the changeset viewer.