EgtGeomKernel 1.6w3 :
- correzioni nell'intersezione di archi tangenti o quasi - pulizia uso distanze e relative costanti minime.
This commit is contained in:
+1
-1
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user