Version: 6.3.1
Public Member Functions

SMESH_TLink Struct Reference

A sorted pair of nodes. More...

#include <SMESH_TypeDefs.hxx>

Inheritance diagram for SMESH_TLink:
Inheritance graph
[legend]

Public Member Functions

 SMESH_TLink (const SMDS_MeshNode *n1, const SMDS_MeshNode *n2)
 SMESH_TLink (const NLink &link)
const SMDS_MeshNodenode1 () const
const SMDS_MeshNodenode2 () const

Detailed Description

A sorted pair of nodes.

Definition at line 57 of file SMESH_TypeDefs.hxx.


Constructor & Destructor Documentation

SMESH_TLink.SMESH_TLink ( const SMDS_MeshNode n1,
const SMDS_MeshNode n2 
)

Definition at line 59 of file SMESH_TypeDefs.hxx.

References SMDS_MeshElement.GetID().

                                                                :NLink( n1, n2 )
  { if ( n1->GetID() < n2->GetID() ) std::swap( first, second ); }
SMESH_TLink.SMESH_TLink ( const NLink link)

Definition at line 61 of file SMESH_TypeDefs.hxx.

                                 :NLink( link )
  { if ( first->GetID() < second->GetID() ) std::swap( first, second ); }

Member Function Documentation

const SMDS_MeshNode* SMESH_TLink.node1 ( ) const

Definition at line 63 of file SMESH_TypeDefs.hxx.

Referenced by SMESH_ElementSearcherImpl.findOuterBoundary(), and StdMeshers_Quadrangle_2D.Smooth().

{ return first; }
const SMDS_MeshNode* SMESH_TLink.node2 ( ) const

Definition at line 64 of file SMESH_TypeDefs.hxx.

Referenced by SMESH_ElementSearcherImpl.findOuterBoundary(), and StdMeshers_Quadrangle_2D.Smooth().

{ return second; }
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS