Warning, file /include/boost/geometry/strategies/concepts/convex_hull_concept.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 
0011 
0012 
0013 
0014 
0015 
0016 
0017 
0018 
0019 #ifndef BOOST_GEOMETRY_STRATEGIES_CONCEPTS_CONVEX_HULL_CONCEPT_HPP
0020 #define BOOST_GEOMETRY_STRATEGIES_CONCEPTS_CONVEX_HULL_CONCEPT_HPP
0021 
0022 
0023 #include <vector>
0024 
0025 #include <boost/concept_check.hpp>
0026 
0027 
0028 namespace boost { namespace geometry { namespace concepts
0029 {
0030 
0031 
0032 
0033 
0034 
0035 
0036 template <typename Strategy>
0037 class ConvexHullStrategy
0038 {
0039 #ifndef DOXYGEN_NO_CONCEPT_MEMBERS
0040 
0041     
0042     typedef typename Strategy::state_type state_type;
0043 
0044     
0045     typedef typename Strategy::point_type point_type;
0046 
0047     
0048     typedef typename Strategy::geometry_type geometry_type;
0049 
0050     struct check_methods
0051     {
0052         static void apply()
0053         {
0054             Strategy const* str = 0;
0055 
0056             state_type* st = 0;
0057             geometry_type* sp = 0;
0058             std::vector<point_type> *v = 0;
0059 
0060             
0061             str->apply(*sp, *st);
0062 
0063             
0064             str->result(*st, std::back_inserter(*v), true, true);
0065         }
0066     };
0067 
0068 public :
0069     BOOST_CONCEPT_USAGE(ConvexHullStrategy)
0070     {
0071         check_methods::apply();
0072     }
0073 #endif
0074 };
0075 
0076 
0077 }}} 
0078 
0079 
0080 #endif