From b0f5de1b7780ce8e7ae9b9224eac163978e55a27 Mon Sep 17 00:00:00 2001 From: Jerome Robert Date: Fri, 14 Dec 2018 13:44:22 +0100 Subject: [PATCH] [Amibe] Square QEMDecimateHalfEdge.toleranceFactor --- amibe/src/org/jcae/mesh/amibe/algos3d/QEMDecimateHalfEdge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amibe/src/org/jcae/mesh/amibe/algos3d/QEMDecimateHalfEdge.java b/amibe/src/org/jcae/mesh/amibe/algos3d/QEMDecimateHalfEdge.java index a7cfaf4ac..80281d235 100644 --- a/amibe/src/org/jcae/mesh/amibe/algos3d/QEMDecimateHalfEdge.java +++ b/amibe/src/org/jcae/mesh/amibe/algos3d/QEMDecimateHalfEdge.java @@ -228,7 +228,7 @@ public void setAnalyticMetric(int groupId, MetricSupport.AnalyticMetricInterface * provided the effective tolerance is the metric multiplied by this value. */ public void setToleranceFactor(double toleranceFactor) { - this.toleranceFactor = toleranceFactor; + this.toleranceFactor = toleranceFactor * toleranceFactor; } @Override