From fd8a3bc3c62008b2dd44024b39384c1a2867d081 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Wed, 17 Jan 2024 11:18:43 +0100 Subject: [PATCH] Increase tolerance when checking for degenerated facets. --- DDCAD/include/DDCAD/Utilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCAD/include/DDCAD/Utilities.h b/DDCAD/include/DDCAD/Utilities.h index effbbeb5d..ef5a4c89b 100644 --- a/DDCAD/include/DDCAD/Utilities.h +++ b/DDCAD/include/DDCAD/Utilities.h @@ -57,7 +57,7 @@ namespace dd4hep { const ROOT::Geom::Vertex_t& v1 = vertices[0]; const ROOT::Geom::Vertex_t& v2 = vertices[1]; const ROOT::Geom::Vertex_t& v3 = vertices[2]; - constexpr double epsilon = 1.e-20; + constexpr double epsilon = 1.0e-10; // v1.x v2.x v3.x v1.x v2.x // // v1.y v2.y v3.y v1.y v2.y -- GitLab