00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SEDGECOMPARE_H
00014 #define SEDGECOMPARE_H
00015 #include <functional>
00016
00017
00018 namespace shells {
00019 struct SEdgeS;
00020
00021
00022 struct SEdgeCompare :
00023 public std::binary_function<shells::SEdgeS*, shells::SEdgeS*, bool>
00024 {
00025 bool operator()(shells::SEdgeS *e1, shells::SEdgeS *e2);
00026 };
00027
00028
00029
00030 struct SEdgeWithTwoElements :
00031 public std::unary_function<shells::SEdgeS*, bool>
00032 {
00033
00034 bool operator()(shells::SEdgeS *edge) const;
00035 };
00036 }
00037 #endif