diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
commit | b8cf34c691623e4ec329053cbbf68522a855882d (patch) | |
tree | 34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/geometry/algorithms/detail/is_valid/ring.hpp | |
parent | 3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff) | |
download | boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2 boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip |
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/geometry/algorithms/detail/is_valid/ring.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/is_valid/ring.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/geometry/algorithms/detail/is_valid/ring.hpp b/boost/geometry/algorithms/detail/is_valid/ring.hpp index 0b95950430..40698155b5 100644 --- a/boost/geometry/algorithms/detail/is_valid/ring.hpp +++ b/boost/geometry/algorithms/detail/is_valid/ring.hpp @@ -1,5 +1,7 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland. + // Copyright (c) 2014-2017, Oracle and/or its affiliates. // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -107,8 +109,6 @@ struct is_properly_oriented { boost::ignore_unused(visitor); - typedef typename point_type<Ring>::type point_type; - typedef detail::area::ring_area < order_as_direction<geometry::point_order<Ring>::value>::value, @@ -117,8 +117,8 @@ struct is_properly_oriented typedef typename Strategy::template area_strategy < - point_type - >::type::return_type area_result_type; + Ring + >::type::template result_type<Ring>::type area_result_type; typename ring_area_predicate < @@ -129,7 +129,7 @@ struct is_properly_oriented area_result_type const zero = 0; area_result_type const area = ring_area_type::apply(ring, - strategy.template get_area_strategy<point_type>()); + strategy.template get_area_strategy<Ring>()); if (predicate(area, zero)) { return visitor.template apply<no_failure>(); |