11#include <dune/common/typetraits.hh>
30 int get ( std::vector< std::vector< int > > &polygons )
40 DUNE_THROW(
DGFException,
"Error in " << *
this <<
": Invalid vertex index (" << vtxIdx <<
" not int [" <<
vtxBegin_ <<
", " <<
vtxEnd_ <<
"[)" );
46 return polygons.size();
Include standard header files.
Definition: agrid.hh:60
@ polygon
Definition: common.hh:136
void reset()
Definition: basic.hh:51
bool getnextline()
Definition: basic.cc:94
bool getnextentry(ENTRY &entry)
Definition: basic.hh:63
Definition: polygon.hh:25
PolygonBlock(std::istream &in, int numVtx, int vtxOfs)
Definition: polygon.hh:26
int get(std::vector< std::vector< int > > &polygons)
Definition: polygon.hh:30
int vtxEnd_
Definition: polygon.hh:50
int vtxBegin_
Definition: polygon.hh:50
exception class for IO errors in the DGF parser
Definition: dgfexception.hh:16