mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
This commit is contained in:
parent
696fa5df7f
commit
a3b1bac8a0
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user