OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::Edge2D Class Reference

Edge class for Delaunay triangulation. More...

#include <edge2d.h>

+ Inheritance diagram for oofem::Edge2D:

Public Member Functions

 Edge2D (int node1, int node2)
 Constructor. More...
 
virtual ~Edge2D ()
 Destructor. More...
 
int giveFirstNodeNumber ()
 Gives the number of the first node. More...
 
int giveSecondNodeNumber ()
 Gives the number of the second node. More...
 
virtual bool operator== (const Edge2D &right)
 Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise. More...
 

Private Attributes

std::pair< int, int > nodeNumbers
 Global node numbers. More...
 

Detailed Description

Edge class for Delaunay triangulation.

Author
David Krybus

Definition at line 49 of file edge2d.h.

Constructor & Destructor Documentation

oofem::Edge2D::Edge2D ( int  node1,
int  node2 
)

Constructor.

Definition at line 39 of file edge2d.C.

oofem::Edge2D::~Edge2D ( )
virtual

Destructor.

Definition at line 43 of file edge2d.C.

Member Function Documentation

int oofem::Edge2D::giveFirstNodeNumber ( )
inline

Gives the number of the first node.

Definition at line 61 of file edge2d.h.

int oofem::Edge2D::giveSecondNodeNumber ( )
inline

Gives the number of the second node.

Definition at line 63 of file edge2d.h.

References operator==().

bool oofem::Edge2D::operator== ( const Edge2D right)
virtual

Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise.

Definition at line 47 of file edge2d.C.

References nodeNumbers.

Referenced by giveSecondNodeNumber().

Member Data Documentation

std :: pair< int, int > oofem::Edge2D::nodeNumbers
private

Global node numbers.

Definition at line 53 of file edge2d.h.

Referenced by operator==().


The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:35 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011