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_ <<
"[)" );
44 return polygons.size();
Include standard header files.
Definition: agrid.hh:58
@ polygon
Definition: common.hh:134
void reset()
Definition: basic.hh:49
bool getnextline()
Definition: basic.cc:92
bool getnextentry(ENTRY &entry)
Definition: basic.hh:61
Definition: polygon.hh:23
PolygonBlock(std::istream &in, int numVtx, int vtxOfs)
Definition: polygon.hh:24
int get(std::vector< std::vector< int > > &polygons)
Definition: polygon.hh:28
int vtxEnd_
Definition: polygon.hh:48
int vtxBegin_
Definition: polygon.hh:48
exception class for IO errors in the DGF parser
Definition: dgfexception.hh:14