3 #ifndef DUNE_POLYGON_HH 4 #define DUNE_POLYGON_HH 9 #include <dune/common/typetraits.hh> 28 int get ( std::vector< std::vector< int > > &polygons )
38 DUNE_THROW(
DGFException,
"Error in " << *
this <<
": Invalid vertex index (" << vtxIdx <<
" not int [" <<
vtxBegin_ <<
", " <<
vtxEnd_ <<
"[)" );
42 polygons.push_back( polygon );
44 return polygons.size();
54 #endif // #ifndef DUNE_POLYGON_HH Include standard header files.
Definition: agrid.hh:58
int vtxBegin_
Definition: polygon.hh:48
bool getnextentry(ENTRY &entry)
Definition: basic.hh:61
PolygonBlock(std::istream &in, int numVtx, int vtxOfs)
Definition: polygon.hh:24
Definition: polygon.hh:21
exception class for IO errors in the DGF parser
Definition: dgfexception.hh:12
bool getnextline()
Definition: basic.cc:92
void reset()
Definition: basic.hh:49
int vtxEnd_
Definition: polygon.hh:48
Definition: common.hh:182