Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/geometry/strategies/distance.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
1 // Boost.Geometry (aka GGL, Generic Geometry Library) | 1 // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | 2 |
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. | 3 // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. |
4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. | 4 // Copyright (c) 2008-2014 Bruno Lalande, Paris, France. |
5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. | 5 // Copyright (c) 2009-2014 Mateusz Loskot, London, UK. |
6 | |
7 // This file was modified by Oracle on 2014. | |
8 // Modifications copyright (c) 2014, Oracle and/or its affiliates. | |
9 | |
10 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle | |
6 | 11 |
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library | 12 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library |
8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. | 13 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. |
9 | 14 |
10 // Use, modification and distribution is subject to the Boost Software License, | 15 // Use, modification and distribution is subject to the Boost Software License, |
59 | 64 |
60 template <typename Strategy, typename P1, typename P2> | 65 template <typename Strategy, typename P1, typename P2> |
61 struct result_from_distance {}; | 66 struct result_from_distance {}; |
62 | 67 |
63 | 68 |
64 // For point-segment only: | |
65 template <typename Strategy> struct strategy_point_point {}; | |
66 | 69 |
67 | 70 |
68 // Default strategy | 71 // Default strategy |
69 | 72 |
70 | 73 |
71 /*! | 74 /*! |
72 \brief Traits class binding a default strategy for distance | 75 \brief Traits class binding a default strategy for distance |
73 to one (or possibly two) coordinate system(s) | 76 to one (or possibly two) coordinate system(s) |
74 \ingroup distance | 77 \ingroup distance |
75 \tparam GeometryTag tag (point/segment) for which this strategy is the default | 78 \tparam GeometryTag1 tag (point/segment/box) for which this strategy is the default |
79 \tparam GeometryTag2 tag (point/segment/box) for which this strategy is the default | |
76 \tparam Point1 first point-type | 80 \tparam Point1 first point-type |
77 \tparam Point2 second point-type | 81 \tparam Point2 second point-type |
78 \tparam CsTag1 tag of coordinate system of first point type | 82 \tparam CsTag1 tag of coordinate system of first point type |
79 \tparam CsTag2 tag of coordinate system of second point type | 83 \tparam CsTag2 tag of coordinate system of second point type |
80 */ | 84 */ |
81 template | 85 template |
82 < | 86 < |
83 typename GeometryTag, | 87 typename GeometryTag1, |
88 typename GeometryTag2, | |
84 typename Point1, | 89 typename Point1, |
85 typename Point2 = Point1, | 90 typename Point2 = Point1, |
86 typename CsTag1 = typename cs_tag<Point1>::type, | 91 typename CsTag1 = typename cs_tag<Point1>::type, |
87 typename CsTag2 = typename cs_tag<Point2>::type, | 92 typename CsTag2 = typename cs_tag<Point2>::type, |
88 typename UnderlyingStrategy = void | 93 typename UnderlyingStrategy = void |