]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Correction name of the fields
authorEl Hadi Moussi <moussi@phimeca.com>
Fri, 9 Aug 2024 08:52:37 +0000 (10:52 +0200)
committerEl Hadi Moussi <moussi@phimeca.com>
Fri, 9 Aug 2024 08:52:37 +0000 (10:52 +0200)
src/ShapeRecogn/ShapeRecognMesh.cxx

index 9c102128b439b2c32dbc6a10f07fbaa7f95df348..3da7a0d11faa1588dbd4f5ab2e5ed2181ec3a090 100644 (file)
@@ -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<double, 3> &
                                       { 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<double, 3> &
                                       { return areas->getApex(areaId); });
-    return buildField("Axis (Area)", 3, values);
+    return buildField("Apex (Area)", 3, values);
 }
 
 template <typename T>