From 081e9f129e181d2eb68abaf99be6e14d3e57f469 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 7 Jan 2014 10:13:11 +0000 Subject: [PATCH] identify output --- libsrc/stlgeom/stltopology.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }