From 3232c8723f712f13448f89e5efaf952c3eced59e Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 18 Jun 2009 12:42:13 +0000 Subject: [PATCH] 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; } }; --- src/SMESH/SMESH_MeshEditor.hxx | 2 ++ 1 file changed, 2 insertions(+) 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; } }; // ============================================================ -- 2.39.2