EgtGeomKernel 1.6w3 :

- correzioni nell'intersezione di archi tangenti o quasi
- pulizia uso distanze e relative costanti minime.
This commit is contained in:
Dario Sassi
2016-11-14 06:18:44 +00:00
parent 2c29509f29
commit 0dd8afedf9
17 changed files with 111 additions and 54 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ PointGrid3d::RemovePoint( const Point3d& ptP, int nId)
// cerco quello con l'Id voluto
for ( ; MMrange.first != MMrange.second ; ++ MMrange.first) {
// se coincidono punto e Id lo cancello
if ( SqDist( (*MMrange.first).second.first, ptP) < ( EPS_SMALL * EPS_SMALL) &&
if ( SqDist( (*MMrange.first).second.first, ptP) < SQ_EPS_SMALL &&
abs( (*MMrange.first).second.second) == abs( nId)) {
m_MMap.erase( MMrange.first) ;
return true ;