From: El Hadi Moussi Date: Fri, 9 Aug 2024 08:52:37 +0000 (+0200) Subject: Correction name of the fields X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b909dc0dcdf4550ff88f2e0fb76aa9d913d0b2b2;p=tools%2Fmedcoupling.git Correction name of the fields --- 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