From: eap Date: Thu, 18 Jun 2009 12:42:26 +0000 (+0000) Subject: 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh X-Git-Tag: V4_1_0_maintainance_FINAL~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=776007b1a023c127b7be8c787e2de9521f86833e;p=modules%2Fsmesh.git 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh struct SMESH_TLink: public NLink { + const SMDS_MeshNode* node1() const { return first; } + const SMDS_MeshNode* node2() const { return second; } }; --- diff --git a/src/SMESH/SMESH_MeshEditor.hxx b/src/SMESH/SMESH_MeshEditor.hxx index 06896059b..fe74654ae 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; } }; // ============================================================