diff --git a/libsrc/stlgeom/stltopology.cpp b/libsrc/stlgeom/stltopology.cpp index d4efa612..f4078ead 100644 --- a/libsrc/stlgeom/stltopology.cpp +++ b/libsrc/stlgeom/stltopology.cpp @@ -502,6 +502,10 @@ void STLTopology :: InitSTLGeometry(const Array & readtrigs) foundpos = AddPoint(p); pointtree->Insert (p, foundpos); } + if (Dist(p, points.Get(foundpos)) > 1e-10) + cout << "identify close points: " << p << " " << points.Get(foundpos) + << ", dist = " << Dist(p, points.Get(foundpos)) + << endl; st[k] = foundpos; }