X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMESH%2FSMESH_MeshEditor.hxx;h=82559eadfc03aa257e78ad38ae80c250fe9af09c;hb=3232c8723f712f13448f89e5efaf952c3eced59e;hp=b92b6268672a47047d900cccb92878f1cdcaf0b2;hpb=47e62a030ce1fc5890a731d0a32c88d4e5408837;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_MeshEditor.hxx b/src/SMESH/SMESH_MeshEditor.hxx index b92b62686..82559eadf 100644 --- a/src/SMESH/SMESH_MeshEditor.hxx +++ b/src/SMESH/SMESH_MeshEditor.hxx @@ -72,6 +72,8 @@ struct SMESH_TLink: public NLink { if ( n1->GetID() < n2->GetID() ) std::swap( first, second ); } SMESH_TLink(const NLink& link ):NLink( link ) { if ( first->GetID() < second->GetID() ) std::swap( first, second ); } + const SMDS_MeshNode* node1() const { return first; } + const SMDS_MeshNode* node2() const { return second; } }; // ============================================================