mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 04:30:32 +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());
|
||||
double param = epos->GetUParameter();
|
||||
if ( !isForward ) param = -param;
|
||||
params.insert( make_pair( param, node ));
|
||||
}
|
||||
int nbPoints = aMesh.GetSubMesh(E)->GetSubMeshDS()->NbNodes();
|
||||
if ( nbPoints != params.size())
|
||||
{
|
||||
MESSAGE( "BAD NODE ON EDGE POSITIONS" );
|
||||
return false;
|
||||
if ( !params.insert( make_pair( param, node )).second )
|
||||
{
|
||||
MESSAGE( "BAD NODE ON EDGE POSITIONS" );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// --- load 2D values into MEFISTO structure,
|
||||
|
Loading…
Reference in New Issue
Block a user