From 22e0d26383a264a7619609737dc755e4a7957363 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 12 Dec 2011 23:10:37 +0000 Subject: [PATCH] + fix tolerance issue in FaceTypedPlane::isEqual() git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5287 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d --- src/Mod/Part/App/modelRefine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/modelRefine.cpp b/src/Mod/Part/App/modelRefine.cpp index 8ff5090ba..a44d2aac4 100644 --- a/src/Mod/Part/App/modelRefine.cpp +++ b/src/Mod/Part/App/modelRefine.cpp @@ -415,7 +415,7 @@ bool FaceTypedPlane::isEqual(const TopoDS_Face &faceOne, const TopoDS_Face &face gp_Pln planeOne(planeSurfaceOne->Pln()); gp_Pln planeTwo(planeSurfaceTwo->Pln()); return (planeOne.Position().Direction().IsParallel(planeTwo.Position().Direction(), Precision::Confusion()) && - planeOne.Distance(planeTwo) < Precision::Confusion()); + planeOne.Distance(planeTwo.Position().Location()) < Precision::Confusion()); } GeomAbs_SurfaceType FaceTypedPlane::getType() const