From: eap Date: Mon, 1 Feb 2010 14:26:09 +0000 (+0000) Subject: 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D X-Git-Tag: V5_1_4a1~112 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a3b1bac8a0ca4cdeba5a41dcabd036568637bb22;p=modules%2Fsmesh.git 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D * Rename HasDegenenaratedEdges() -> HasDegeneratedEdges() --- diff --git a/src/SMESH/SMESH_MesherHelper.hxx b/src/SMESH/SMESH_MesherHelper.hxx index 2d2494e27..50169663b 100644 --- a/src/SMESH/SMESH_MesherHelper.hxx +++ b/src/SMESH/SMESH_MesherHelper.hxx @@ -288,7 +288,7 @@ public: * has a degenerated edges * \retval bool - true if it has */ - bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); } + bool HasDegeneratedEdges() const { return !myDegenShapeIds.empty(); } /*! * \brief Check if shape is a seam edge or it's vertex diff --git a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx index 717e88b5f..b10f3902c 100644 --- a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx +++ b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx @@ -802,7 +802,7 @@ void StdMeshers_MEFISTO_2D::StoreResult(Z nbst, R2 * uvst, Z nbt, Z * nust, const SMDS_MeshNode * n3 = mefistoToDS[ nust[m++] - 1 ]; // avoid creating degenetrated faces - bool isDegen = ( myTool->HasDegenenaratedEdges() && ( n1 == n2 || n1 == n3 || n2 == n3 )); + bool isDegen = ( myTool->HasDegeneratedEdges() && ( n1 == n2 || n1 == n3 || n2 == n3 )); if ( !isDegen ) { SMDS_MeshElement * elt;