PAL13460 (PAL EDF 301 force the mesh to go through a point)

in LoadNodeColumns(), check IsMedium() on edges only
This commit is contained in:
eap 2007-02-28 15:03:48 +00:00
parent fe605cfaac
commit c9fd374088

View File

@ -951,7 +951,7 @@ bool SMESH_MesherHelper::LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
const SMDS_MeshNode* node;
while ( nIt->more() ) {
node = nIt->next();
if(IsMedium(node))
if(IsMedium(node, SMDSAbs_Edge))
continue;
const SMDS_EdgePosition* pos =
dynamic_cast<const SMDS_EdgePosition*>( node->GetPosition().get() );