dune-grid
2.1.1
|
Comparison object to sort GeometryType by majorly dimension. More...
#include <dune/grid/utility/gridinfo.hh>
Public Member Functions | |
bool | operator() (const GeometryType &a, const GeometryType &b) const |
compare two GeometryTypes |
Comparison object to sort GeometryType by majorly dimension.
This differs from the standard GeometryType::operator<() in that it puts more emphasis on the dimension than the isNone() property. If it is used as the comparison object in a map where the key is of type GeometryType, all entries of one dimension will be lumped together.
bool Dune::GridViewInfoGTCompare::operator() | ( | const GeometryType & | a, |
const GeometryType & | b | ||
) | const [inline] |
compare two GeometryTypes