From b909dc0dcdf4550ff88f2e0fb76aa9d913d0b2b2 Mon Sep 17 00:00:00 2001 From: El Hadi Moussi Date: Fri, 9 Aug 2024 10:52:37 +0200 Subject: [PATCH] Correction name of the fields --- src/ShapeRecogn/ShapeRecognMesh.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ShapeRecogn/ShapeRecognMesh.cxx b/src/ShapeRecogn/ShapeRecognMesh.cxx index 9c102128b..3da7a0d11 100644 --- a/src/ShapeRecogn/ShapeRecognMesh.cxx +++ b/src/ShapeRecogn/ShapeRecognMesh.cxx @@ -190,7 +190,7 @@ MEDCouplingFieldDouble *ShapeRecognMesh::buildCenter() const throw INTERP_KERNEL::Exception("recognize must be called before building any fields"); double *values = buildArea3DArray([](Areas *areas, mcIdType areaId) -> const std::array & { return areas->getCenter(areaId); }); - return buildField("Normal (Area)", 3, values); + return buildField("Center (Area)", 3, values); } MEDCouplingFieldDouble *ShapeRecognMesh::buildAxis() const @@ -208,7 +208,7 @@ MEDCouplingFieldDouble *ShapeRecognMesh::buildApex() const throw INTERP_KERNEL::Exception("recognize must be called before building any fields"); double *values = buildArea3DArray([](Areas *areas, mcIdType areaId) -> const std::array & { return areas->getApex(areaId); }); - return buildField("Axis (Area)", 3, values); + return buildField("Apex (Area)", 3, values); } template -- 2.39.2