From: eap Date: Thu, 18 Jun 2009 12:42:13 +0000 (+0000) Subject: 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh X-Git-Tag: V5_1_3rc1~159 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=3232c8723f712f13448f89e5efaf952c3eced59e;ds=sidebyside 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 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; } }; // ============================================================