From: El Hadi Moussi Date: Wed, 7 Aug 2024 08:06:04 +0000 (+0200) Subject: Correction apex in computeConeProperties X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5cb7def48b244a7b240e8ae55e6a8683138ad0e;p=tools%2Fmedcoupling.git Correction apex in computeConeProperties --- diff --git a/src/ShapeRecogn/Areas.cxx b/src/ShapeRecogn/Areas.cxx index 4c9041168..cd4709e31 100644 --- a/src/ShapeRecogn/Areas.cxx +++ b/src/ShapeRecogn/Areas.cxx @@ -397,7 +397,7 @@ void Areas::computeConeProperties(mcIdType areaId) } } for (size_t j = 0; j < 3; ++j) - area.apex[j] /= (double)q1_indices.size(); + area.apex[j] /= (double)min_q_size; } void Areas::computeTorusProperties(mcIdType areaId)