020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D

* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
This commit is contained in:
eap 2010-02-01 14:26:09 +00:00
parent 696fa5df7f
commit a3b1bac8a0
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ public:
* has a degenerated edges * has a degenerated edges
* \retval bool - true if it has * \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 * \brief Check if shape is a seam edge or it's vertex

View File

@ -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 ]; const SMDS_MeshNode * n3 = mefistoToDS[ nust[m++] - 1 ];
// avoid creating degenetrated faces // 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 ) if ( !isDegen )
{ {
SMDS_MeshElement * elt; SMDS_MeshElement * elt;