Warning, file /include/boost/geometry/strategies/concepts/segment_intersect_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 #ifndef BOOST_GEOMETRY_STRATEGIES_CONCEPTS_SEGMENT_INTERSECT_CONCEPT_HPP
0015 #define BOOST_GEOMETRY_STRATEGIES_CONCEPTS_SEGMENT_INTERSECT_CONCEPT_HPP
0016
0017
0018
0019
0020 #include <boost/concept_check.hpp>
0021
0022
0023 namespace boost { namespace geometry { namespace concepts
0024 {
0025
0026
0027
0028
0029
0030
0031 template <typename Strategy>
0032 class SegmentIntersectStrategy
0033 {
0034 #ifndef DOXYGEN_NO_CONCEPT_MEMBERS
0035
0036
0037 typedef typename Strategy::return_type return_type;
0038
0039
0040
0041
0042
0043 typedef typename Strategy::segment_type1 segment_type1;
0044 typedef typename Strategy::segment_type2 segment_type2;
0045
0046
0047 struct check_methods
0048 {
0049 static void apply()
0050 {
0051 Strategy const* str;
0052
0053 return_type* rt;
0054
0055 segment_type1 const* s1;
0056 segment_type2 const* s2;
0057
0058
0059
0060 *rt = str->apply(*s1, *s2);
0061
0062 }
0063 };
0064
0065
0066 public :
0067 BOOST_CONCEPT_USAGE(SegmentIntersectStrategy)
0068 {
0069 check_methods::apply();
0070 }
0071 #endif
0072 };
0073
0074
0075
0076 }}}
0077
0078 #endif