diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
commit | 08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch) | |
tree | 7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/geometry/algorithms/detail/ring_identifier.hpp | |
parent | bb4dd8289b351fae6b55e303f189127a394a1edd (diff) | |
download | boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2 boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip |
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/geometry/algorithms/detail/ring_identifier.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/ring_identifier.hpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/boost/geometry/algorithms/detail/ring_identifier.hpp b/boost/geometry/algorithms/detail/ring_identifier.hpp index 9209ee0304..bc3fe1fef3 100644 --- a/boost/geometry/algorithms/detail/ring_identifier.hpp +++ b/boost/geometry/algorithms/detail/ring_identifier.hpp @@ -10,6 +10,14 @@ #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_RING_IDENTIFIER_HPP +#if defined(BOOST_GEOMETRY_DEBUG_IDENTIFIER) +#include <iostream> +#endif + + +#include <boost/geometry/algorithms/detail/signed_index_type.hpp> + + namespace boost { namespace geometry { @@ -24,7 +32,9 @@ struct ring_identifier , ring_index(-1) {} - inline ring_identifier(int src, int mul, int rin) + inline ring_identifier(signed_index_type src, + signed_index_type mul, + signed_index_type rin) : source_index(src) , multi_index(mul) , ring_index(rin) @@ -58,9 +68,9 @@ struct ring_identifier #endif - int source_index; - int multi_index; - int ring_index; + signed_index_type source_index; + signed_index_type multi_index; + signed_index_type ring_index; }; |