~ubuntu-branches/ubuntu/saucy/merkaartor/saucy

« back to all changes in this revision

Viewing changes to include/ggl/multi/algorithms/overlay/get_intersection_points.hpp

Tags: upstream-0.15.3+svn20934
ImportĀ upstreamĀ versionĀ 0.15.3+svn20934

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Generic Geometry Library
2
 
//
3
 
// Copyright Barend Gehrels 1995-2009, Geodan Holding B.V. Amsterdam, the Netherlands.
4
 
// Copyright Bruno Lalande 2008, 2009
5
 
// Use, modification and distribution is subject to the Boost Software License,
6
 
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7
 
// http://www.boost.org/LICENSE_1_0.txt)
8
 
 
9
 
#ifndef GGL_MULTI_ALGORITHMS_GET_INTERSECTION_POINTS_HPP
10
 
#define GGL_MULTI_ALGORITHMS_GET_INTERSECTION_POINTS_HPP
11
 
 
12
 
#include <ggl/multi/core/is_multi.hpp>
13
 
 
14
 
#include <ggl/multi/algorithms/distance.hpp>
15
 
#include <ggl/multi/algorithms/get_section.hpp>
16
 
#include <ggl/multi/algorithms/sectionalize.hpp>
17
 
 
18
 
#include <ggl/multi/iterators/point_const_iterator.hpp>
19
 
 
20
 
#include <ggl/algorithms/overlay/get_intersection_points.hpp>
21
 
 
22
 
 
23
 
 
24
 
namespace ggl
25
 
{
26
 
 
27
 
 
28
 
#ifndef DOXYGEN_NO_DISPATCH
29
 
namespace dispatch
30
 
{
31
 
 
32
 
 
33
 
template
34
 
<
35
 
    typename MultiTag1,
36
 
    typename MultiTag2,
37
 
    typename MultiGeometry1,
38
 
    typename MultiGeometry2,
39
 
    typename IntersectionPoints
40
 
>
41
 
struct get_intersection_points
42
 
    <
43
 
        MultiTag1, MultiTag2,
44
 
        true, true,
45
 
        MultiGeometry1, MultiGeometry2,
46
 
        IntersectionPoints
47
 
    >
48
 
    : detail::get_intersection_points::get_ips_generic
49
 
        <
50
 
            MultiGeometry1,
51
 
            MultiGeometry2,
52
 
            IntersectionPoints
53
 
        >
54
 
{};
55
 
 
56
 
 
57
 
} // namespace dispatch
58
 
#endif // DOXYGEN_NO_DISPATCH
59
 
 
60
 
 
61
 
 
62
 
} // namespace ggl
63
 
 
64
 
#endif // GGL_MULTI_ALGORITHMS_GET_INTERSECTION_POINTS_HPP