Go to the documentation of this file.
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();
54 #endif // #ifndef DUNE_POLYGON_HH
void reset()
Definition: basic.hh:49
Definition: polygon.hh:21
@ polygon
Definition: common.hh:184
int get(std::vector< std::vector< int > > &polygons)
Definition: polygon.hh:28
int vtxEnd_
Definition: polygon.hh:48
PolygonBlock(std::istream &in, int numVtx, int vtxOfs)
Definition: polygon.hh:24
bool getnextline()
Definition: basic.cc:92
exception class for IO errors in the DGF parser
Definition: dgfexception.hh:12
int vtxBegin_
Definition: polygon.hh:48
bool getnextentry(ENTRY &entry)
Definition: basic.hh:61
Include standard header files.
Definition: agrid.hh:58