TAPs 0.7.7.3
TAPsEdge.cpp
Go to the documentation of this file.
00001 /******************************************************************************
00002 TAPsEdge.hpp
00003 
00004 Edge class is a class for 3D edge.
00005 It contains two integers to index the original vertex and the destination 
00006 vertex of an edge.
00007 
00008 SUKITTI PUNAK   (11/07/2004)
00009 UPDATE          (11/07/2004)
00010 ******************************************************************************/
00011 #include "TAPsEdge.hpp"
00012 // Using Inclusion Model (i.e. definitions are included in declarations)
00013 //                       (this name.cpp is included in name.hpp)
00014 // Each friend is defined directly inside its declaration.
00015 
00016 BEGIN_NAMESPACE_TAPs
00017 //=============================================================================
00018 // Constructors
00019 //-----------------------------------------------------------------------------
00020 Edge::Edge ( int iOrig, int iDest ) 
00021     : m_iOrig( iOrig ), m_iDest( iDest )
00022 {}  
00023 //-----------------------------------------------------------------------------
00024 Edge::Edge ( Edge const &e ) 
00025     : m_iOrig( e.m_iOrig ), m_iDest( e.m_iDest )
00026 {}  
00027 //-----------------------------------------------------------------------------
00028 Edge::~Edge ()
00029 {}  
00030 //-----------------------------------------------------------------------------
00031 //=============================================================================
00032 // Assignment Operator
00033 //-----------------------------------------------------------------------------
00034 inline Edge & Edge::operator= ( Edge const &e )
00035 {   
00036     m_iOrig = e.m_iOrig;
00037     m_iDest = e.m_iDest;
00038     return *this;
00039 }
00040 //-----------------------------------------------------------------------------
00041 //=============================================================================
00042 END_NAMESPACE_TAPs
00043 //345678901234567890123456789012345678901234567890123456789012345678901234567890
00044 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines