00001 00002 // $LICENSE 00003 00004 #ifndef NMWR_GB_EDGE2D_INLINE_H 00005 #define NMWR_GB_EDGE2D_INLINE_H 00006 00007 #include "Gral/Grids/Complex2D/internal/edge2d.h" 00008 00009 inline Edge2D::Edge2D(Complex2D const& cc) 00010 { *this = *(cc.FirstEdge());} 00011 inline Edge2D::Edge2D(Complex2D const& cc, edge_handle eh) 00012 { *this = cc.edge(eh);} 00013 00014 inline VertexOnEdge2D_Iterator Edge2D::FirstVertex() const 00015 { return VertexOnEdge2D_Iterator(*this); } 00016 00017 inline VertexOnEdge2D_Iterator Edge2D::EndVertex() const 00018 { return VertexOnEdge2D_Iterator(*this,3); } 00019 00020 inline CellOnEdge2D_Iterator Edge2D::FirstCell() const 00021 { return CellOnEdge2D_Iterator(*this); } 00022 00023 inline CellOnEdge2D_Iterator Edge2D::EndCell() const 00024 { return CellOnEdge2D_Iterator(*this,3); } 00025 00026 #endif 00027