mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 21:21:21 +05:00
minor changes
This commit is contained in:
parent
654dc45d73
commit
4b91a5486b
@ -530,13 +530,11 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(SMESH_Mesh & aMesh,
|
|||||||
static_cast<const SMDS_EdgePosition*>(node->GetPosition().get());
|
static_cast<const SMDS_EdgePosition*>(node->GetPosition().get());
|
||||||
double param = epos->GetUParameter();
|
double param = epos->GetUParameter();
|
||||||
if ( !isForward ) param = -param;
|
if ( !isForward ) param = -param;
|
||||||
params.insert( make_pair( param, node ));
|
if ( !params.insert( make_pair( param, node )).second )
|
||||||
}
|
{
|
||||||
int nbPoints = aMesh.GetSubMesh(E)->GetSubMeshDS()->NbNodes();
|
MESSAGE( "BAD NODE ON EDGE POSITIONS" );
|
||||||
if ( nbPoints != params.size())
|
return false;
|
||||||
{
|
}
|
||||||
MESSAGE( "BAD NODE ON EDGE POSITIONS" );
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- load 2D values into MEFISTO structure,
|
// --- load 2D values into MEFISTO structure,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user