From a3b1bac8a0ca4cdeba5a41dcabd036568637bb22 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 1 Feb 2010 14:26:09 +0000 Subject: [PATCH] 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D * Rename HasDegenenaratedEdges() -> HasDegeneratedEdges() --- src/SMESH/SMESH_MesherHelper.hxx | 2 +- src/StdMeshers/StdMeshers_MEFISTO_2D.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2