|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61493 - in sandbox/geometry/boost/geometry: algorithms algorithms/detail algorithms/detail/buffer algorithms/detail/overlay algorithms/overlay arithmetic core geometries/adapted geometries/register multi/algorithms multi/core policies policies/relate strategies strategies/agnostic strategies/transform util
From: barend.gehrels_at_[hidden]
Date: 2010-04-22 17:59:10
Author: barendgehrels
Date: 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
New Revision: 61493
URL: http://svn.boost.org/trac/boost/changeset/61493
Log:
Added missing std:: include files cstddef,vector,deque,map,string
Text files modified:
sandbox/geometry/boost/geometry/algorithms/detail/buffer/intersecting_inserter.hpp | 3 +++
sandbox/geometry/boost/geometry/algorithms/detail/buffer/segmenting_buffer.hpp | 2 ++
sandbox/geometry/boost/geometry/algorithms/detail/disjoint.hpp | 1 +
sandbox/geometry/boost/geometry/algorithms/detail/overlay/dissolver.hpp | 3 +++
sandbox/geometry/boost/geometry/algorithms/detail/overlay/split_rings.hpp | 32 ++++++++++++++++----------------
sandbox/geometry/boost/geometry/algorithms/detail/overlay/stream_info.hpp | 3 +++
sandbox/geometry/boost/geometry/algorithms/detail/point_on_border.hpp | 2 ++
sandbox/geometry/boost/geometry/algorithms/disjoint.hpp | 1 +
sandbox/geometry/boost/geometry/algorithms/dissolve.hpp | 5 ++++-
sandbox/geometry/boost/geometry/algorithms/intersection.hpp | 3 +++
sandbox/geometry/boost/geometry/algorithms/intersects.hpp | 2 ++
sandbox/geometry/boost/geometry/algorithms/overlaps.hpp | 1 +
sandbox/geometry/boost/geometry/algorithms/overlay/assemble.hpp | 2 ++
sandbox/geometry/boost/geometry/algorithms/overlay/copy_segments.hpp | 3 +++
sandbox/geometry/boost/geometry/algorithms/overlay/msm_state.hpp | 8 ++++++++
sandbox/geometry/boost/geometry/algorithms/overlay/traverse.hpp | 14 +++++++++-----
sandbox/geometry/boost/geometry/algorithms/simplify.hpp | 3 +++
sandbox/geometry/boost/geometry/arithmetic/cross_product.hpp | 3 +++
sandbox/geometry/boost/geometry/arithmetic/dot_product.hpp | 3 +++
sandbox/geometry/boost/geometry/core/reverse_dispatch.hpp | 2 ++
sandbox/geometry/boost/geometry/geometries/adapted/std_pair_as_segment.hpp | 2 ++
sandbox/geometry/boost/geometry/geometries/adapted/tuple.hpp | 3 +++
sandbox/geometry/boost/geometry/geometries/register/point.hpp | 3 +++
sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp | 2 ++
sandbox/geometry/boost/geometry/multi/core/interior_rings.hpp | 2 ++
sandbox/geometry/boost/geometry/multi/core/num_geometries.hpp | 2 ++
sandbox/geometry/boost/geometry/policies/compare.hpp | 3 +++
sandbox/geometry/boost/geometry/policies/relate/direction.hpp | 6 +++++-
sandbox/geometry/boost/geometry/policies/relate/intersection_points.hpp | 2 ++
sandbox/geometry/boost/geometry/policies/relate/intersection_points_determinant.hpp | 3 +++
sandbox/geometry/boost/geometry/policies/relate/intersection_points_slope.hpp | 3 +++
sandbox/geometry/boost/geometry/policies/relate/tupled.hpp | 9 ++++++---
sandbox/geometry/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp | 3 +++
sandbox/geometry/boost/geometry/strategies/centroid.hpp | 2 ++
sandbox/geometry/boost/geometry/strategies/intersection_result.hpp | 3 +++
sandbox/geometry/boost/geometry/strategies/transform/map_transformer.hpp | 2 ++
sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp | 7 +++++--
sandbox/geometry/boost/geometry/util/readme.txt | 7 +++++++
sandbox/geometry/boost/geometry/util/write_dsv.hpp | 2 ++
39 files changed, 134 insertions(+), 28 deletions(-)
Modified: sandbox/geometry/boost/geometry/algorithms/detail/buffer/intersecting_inserter.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/buffer/intersecting_inserter.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/buffer/intersecting_inserter.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,6 +8,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_INTERSECTING_INSERTER_HPP
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_INTERSECTING_INSERTER_HPP
+
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/range/metafunctions.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/detail/buffer/segmenting_buffer.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/buffer/segmenting_buffer.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/buffer/segmenting_buffer.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,7 +8,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_SEGMENTING_BUFFER_HPP
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_SEGMENTING_BUFFER_HPP
+
#include <cstddef>
+#include <vector>
#include <boost/foreach.hpp>
#include <boost/numeric/conversion/cast.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/detail/disjoint.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/disjoint.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/disjoint.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -13,6 +13,7 @@
// is partly implemented in a separate file, to avoid circular references
// disjoint -> get_turns -> disjoint
+#include <cstddef>
#include <boost/geometry/core/access.hpp>
#include <boost/geometry/core/coordinate_dimension.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/detail/overlay/dissolver.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/overlay/dissolver.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/overlay/dissolver.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_DISSOLVER_HPP
+#include <deque>
+#include <vector>
+
#include <boost/geometry/core/tag.hpp>
#include <boost/geometry/core/tags.hpp>
#include <boost/geometry/core/point_type.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/detail/overlay/split_rings.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/overlay/split_rings.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/overlay/split_rings.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,7 +9,7 @@
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_SPLIT_RINGS_HPP
-//#include <boost/foreach.hpp>
+#include <deque>
#include <boost/geometry/algorithms/overlay/get_turns.hpp>
@@ -62,7 +62,7 @@
--> we use id1+1
- After that, we need to update all indices AFTER IP.
+ After that, we need to update all indices AFTER IP.
We removed two vertices here (4-2), and added one (the IP)
*/
@@ -209,7 +209,7 @@
return left.count_between < right.count_between;
}
- if (left.operations[0].seg_id.segment_index
+ if (left.operations[0].seg_id.segment_index
== right.operations[0].seg_id.segment_index)
{
return left.operations[0].distance < right.operations[0].distance;
@@ -238,7 +238,7 @@
struct split_turn_info : detail::overlay::turn_info
<
P, split_turn_operation<P>
- >
+ >
{
//std::string history;
int count_between; // counts number of segments between ring in intersection
@@ -296,8 +296,8 @@
std::cout << header << std::endl;
BOOST_FOREACH(typename boost::range_value<Turns>::type const& turn, turns)
{
- std::cout
- << "I at " << turn.operations[0].seg_id.segment_index
+ std::cout
+ << "I at " << turn.operations[0].seg_id.segment_index
<< "/" << turn.operations[1].seg_id.segment_index
<< " (" << turn.count_between
<< ") " << turn.operations[0].distance
@@ -315,7 +315,7 @@
return adapt(op, second, first);
}
if (op.seg_id.segment_index > first.seg_id.segment_index
- ||
+ ||
(op.seg_id.segment_index == first.seg_id.segment_index
&& op.distance > first.distance
)
@@ -358,9 +358,9 @@
// Make operations[0].seg_id always the smallest, to sort properly
// Also calculate the number of segments in between
- for (typename boost::range_iterator<turns_type>::type
+ for (typename boost::range_iterator<turns_type>::type
it = boost::begin(turns);
- it != boost::end(turns);
+ it != boost::end(turns);
++it)
{
turn_info& turn = *it;
@@ -380,13 +380,13 @@
turn.count_between = (std::min)(between1, between2);
*/
- turn.count_between = between1;
+ turn.count_between = between1;
}
//report(turns, "swapped");
std::sort(turns.begin(), turns.end(), sorter<turn_info>());
//report(turns, "sorted");
-
+
while(turns.size() > 0)
{
@@ -395,7 +395,7 @@
split_turn_operation<point_type> const& first_op = turn.operations[0];
split_turn_operation<point_type> const& second_op = turn.operations[1];
- bool do_split = first_op.seg_id.segment_index >= 0
+ bool do_split = first_op.seg_id.segment_index >= 0
&& second_op.seg_id.segment_index >= 0;
if (do_split)
@@ -435,9 +435,9 @@
if (do_split)
{
- for (typename boost::range_iterator<turns_type>::type
+ for (typename boost::range_iterator<turns_type>::type
rest = boost::begin(turns);
- rest != boost::end(turns);
+ rest != boost::end(turns);
++rest)
{
//turn_info copy = turn;
@@ -445,7 +445,7 @@
|| adapt(rest->operations[1], first_op, second_op))
{
/**
- std::cout << " ADAPTED "
+ std::cout << " ADAPTED "
<< copy.operations[0].seg_id.segment_index << "/" << copy.operations[1].seg_id.segment_index
<< " "
<< geometry::wkt(copy.point) << std::endl;
@@ -453,7 +453,7 @@
}
}
}
- while(turns.size() > 0
+ while(turns.size() > 0
&& (turns.front().operations[0].seg_id.segment_index < 0
|| turns.front().operations[1].seg_id.segment_index < 0))
{
Modified: sandbox/geometry/boost/geometry/algorithms/detail/overlay/stream_info.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/overlay/stream_info.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/overlay/stream_info.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,6 +8,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_TURN_INFO_HPP
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_TURN_INFO_HPP
+
+#include <string>
+
#include <boost/array.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/detail/point_on_border.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/point_on_border.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/point_on_border.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,8 @@
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_POINT_ON_BORDER_HPP
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/geometry/core/point_type.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/disjoint.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/disjoint.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/disjoint.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -26,6 +26,7 @@
*/
+#include <cstddef>
#include <deque>
Modified: sandbox/geometry/boost/geometry/algorithms/dissolve.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/dissolve.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/dissolve.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#define BOOST_GEOMETRY_ALGORITHMS_DISSOLVE_HPP
+#include <map>
+#include <vector>
+
#include <boost/geometry/algorithms/overlay/get_turns.hpp>
#include <boost/geometry/algorithms/overlay/self_turn_points.hpp>
@@ -147,7 +150,7 @@
\param output container which will contain dissolved geometry
\note Currently dissolve with a (multi)linestring does NOT remove internal
overlap, it only tries to connect multiple line end-points.
- TODO: we should change this behaviour and add a separate "connect"
+ TODO: we should change this behaviour and add a separate "connect"
algorithm, and let dissolve work like polygon.
*/
template
Modified: sandbox/geometry/boost/geometry/algorithms/intersection.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/intersection.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/intersection.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -10,6 +10,9 @@
#define BOOST_GEOMETRY_ALGORITHMS_INTERSECTION_HPP
+#include <cstddef>
+
+
#include <boost/mpl/if.hpp>
#include <boost/geometry/core/reverse_dispatch.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/intersects.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/intersects.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/intersects.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -29,6 +29,8 @@
*/
+#include <deque>
+
#include <boost/geometry/geometries/concepts/check.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/overlaps.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/overlaps.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/overlaps.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -20,6 +20,7 @@
*/
+#include <cstddef>
#include <boost/geometry/core/access.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/overlay/assemble.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/overlay/assemble.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/overlay/assemble.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,7 +8,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_OVERLAY_ASSEMBLE_HPP
#define BOOST_GEOMETRY_ALGORITHMS_OVERLAY_ASSEMBLE_HPP
+
#include <deque>
+#include <map>
#include <vector>
#include <boost/geometry/algorithms/detail/overlay/turn_info.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/overlay/copy_segments.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/overlay/copy_segments.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/overlay/copy_segments.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_OVERLAY_COPY_SEGMENTS_HPP
#define BOOST_GEOMETRY_ALGORITHMS_OVERLAY_COPY_SEGMENTS_HPP
+
+#include <vector>
+
#include <boost/assert.hpp>
#include <boost/geometry/core/tags.hpp>
Modified: sandbox/geometry/boost/geometry/algorithms/overlay/msm_state.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/overlay/msm_state.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/overlay/msm_state.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -1,3 +1,11 @@
+// Boost.Geometry (aka GGL, Generic Geometry Library)
+//
+// Copyright Barend Gehrels 2010, Geodan, Amsterdam, the Netherlands.
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+
#ifndef BOOST_GEOMETRY_ALGORITHMS_OVERLAY_MSM_STATE_HPP
#define BOOST_GEOMETRY_ALGORITHMS_OVERLAY_MSM_STATE_HPP
Modified: sandbox/geometry/boost/geometry/algorithms/overlay/traverse.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/overlay/traverse.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/overlay/traverse.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,6 +8,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_OVERLAY_TRAVERSE_HPP
#define BOOST_GEOMETRY_ALGORITHMS_OVERLAY_TRAVERSE_HPP
+
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/range/metafunctions.hpp>
@@ -19,6 +22,7 @@
#include <boost/geometry/geometries/concepts/check.hpp>
#if defined(BOOST_GEOMETRY_DEBUG_INTERSECTION) || defined(BOOST_GEOMETRY_OVERLAY_REPORT_WKT)
+#include <string>
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
#endif
@@ -203,7 +207,7 @@
#else
std::string const& reason,
Geometry1 const& ,
- Geometry2 const&
+ Geometry2 const&
#endif
)
{
@@ -215,7 +219,7 @@
// Reject this as a starting point
operation.visited.set_rejected();
-
+
// And clear all visit info
clear_visit_info(turns);
@@ -231,7 +235,7 @@
}
}
}
- std::cout << "BACKTRACK (" << reason << " )"
+ std::cout << "BACKTRACK (" << reason << " )"
<< " " << c << " of " << turns.size() << " rejected"
<< std::endl;
***/
@@ -316,7 +320,7 @@
operation,
*current,
current_seg_id,
-
+
current_iit))
{
detail::overlay::backtrack(
@@ -366,7 +370,7 @@
operation,
*current,
current_seg_id,
-
+
current_iit))
{
// Should not occur in valid (non-self-intersecting) polygons
Modified: sandbox/geometry/boost/geometry/algorithms/simplify.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/simplify.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/simplify.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_SIMPLIFY_HPP
#define BOOST_GEOMETRY_ALGORITHMS_SIMPLIFY_HPP
+
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/range/metafunctions.hpp>
Modified: sandbox/geometry/boost/geometry/arithmetic/cross_product.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/arithmetic/cross_product.hpp (original)
+++ sandbox/geometry/boost/geometry/arithmetic/cross_product.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,6 +8,9 @@
#ifndef BOOST_GEOMETRY_ARITHMETIC_CROSS_PRODUCT_HPP
#define BOOST_GEOMETRY_ARITHMETIC_CROSS_PRODUCT_HPP
+
+#include <cstddef>
+
#include <boost/concept/requires.hpp>
#include <boost/geometry/core/access.hpp>
Modified: sandbox/geometry/boost/geometry/arithmetic/dot_product.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/arithmetic/dot_product.hpp (original)
+++ sandbox/geometry/boost/geometry/arithmetic/dot_product.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_ARITHMETIC_DOT_PRODUCT_HPP
#define BOOST_GEOMETRY_ARITHMETIC_DOT_PRODUCT_HPP
+
+#include <cstddef>
+
#include <boost/concept/requires.hpp>
#include <boost/geometry/geometries/concepts/point_concept.hpp>
Modified: sandbox/geometry/boost/geometry/core/reverse_dispatch.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/core/reverse_dispatch.hpp (original)
+++ sandbox/geometry/boost/geometry/core/reverse_dispatch.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -11,6 +11,8 @@
#define BOOST_GEOMETRY_CORE_REVERSE_DISPATCH_HPP
+#include <cstddef>
+
#include <boost/type_traits.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/greater.hpp>
Modified: sandbox/geometry/boost/geometry/geometries/adapted/std_pair_as_segment.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/geometries/adapted/std_pair_as_segment.hpp (original)
+++ sandbox/geometry/boost/geometry/geometries/adapted/std_pair_as_segment.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -19,6 +19,8 @@
#define BOOST_GEOMETRY_ADAPTED_STD_RANGE_TAG_DEFINED
+#include <cstddef>
+
#include <boost/geometry/core/access.hpp>
#include <boost/geometry/core/tag.hpp>
Modified: sandbox/geometry/boost/geometry/geometries/adapted/tuple.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/geometries/adapted/tuple.hpp (original)
+++ sandbox/geometry/boost/geometry/geometries/adapted/tuple.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRIES_ADAPTED_TUPLE_HPP
#define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_TUPLE_HPP
+
+#include <cstddef>
+
#include <boost/tuple/tuple.hpp>
#include <boost/geometry/core/coordinate_dimension.hpp>
Modified: sandbox/geometry/boost/geometry/geometries/register/point.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/geometries/register/point.hpp (original)
+++ sandbox/geometry/boost/geometry/geometries/register/point.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRIES_REGISTER_POINT_HPP
#define BOOST_GEOMETRY_GEOMETRIES_REGISTER_POINT_HPP
+
+#include <cstddef>
+
/**
* @file point.hpp
* @brief Macros for registration of custom point geometry types.
Modified: sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp (original)
+++ sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,8 @@
#define BOOST_GEOMETRY_MULTI_ALGORITHMS_DISSOLVE_HPP
+#include <vector>
+
#include <boost/geometry/multi/core/tags.hpp>
#include <boost/geometry/multi/core/point_type.hpp>
Modified: sandbox/geometry/boost/geometry/multi/core/interior_rings.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/multi/core/interior_rings.hpp (original)
+++ sandbox/geometry/boost/geometry/multi/core/interior_rings.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -10,6 +10,8 @@
#define BOOST_GEOMETRY_MULTI_CORE_INTERIOR_RINGS_HPP
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/range/metafunctions.hpp>
Modified: sandbox/geometry/boost/geometry/multi/core/num_geometries.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/multi/core/num_geometries.hpp (original)
+++ sandbox/geometry/boost/geometry/multi/core/num_geometries.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -10,6 +10,8 @@
#define BOOST_GEOMETRY_MULTI_CORE_NUM_GEOMETRIES_HPP
+#include <cstddef>
+
#include <boost/range/functions.hpp>
#include <boost/range/metafunctions.hpp>
Modified: sandbox/geometry/boost/geometry/policies/compare.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/compare.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/compare.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -43,6 +43,9 @@
types (a linestring can be spatially equal to a multi-linestring).
*/
+
+#include <cstddef>
+
#include <boost/geometry/strategies/compare.hpp>
#include <boost/geometry/util/math.hpp>
Modified: sandbox/geometry/boost/geometry/policies/relate/direction.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/relate/direction.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/relate/direction.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,10 @@
#ifndef BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_DIRECTION_HPP
#define BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_DIRECTION_HPP
+
+#include <cstddef>
+#include <string>
+
#include <boost/concept_check.hpp>
#include <boost/geometry/strategies/side_info.hpp>
@@ -175,7 +179,7 @@
}
template <typename S>
- static inline return_type collinear_interior_boundary_intersect(S const& , bool,
+ static inline return_type collinear_interior_boundary_intersect(S const& , bool,
int arrival_a, int arrival_b, bool opposite)
{
return_type r('c', opposite);
Modified: sandbox/geometry/boost/geometry/policies/relate/intersection_points.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/relate/intersection_points.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/relate/intersection_points.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,7 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
#define BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
+
#include <algorithm>
+#include <string>
#include <boost/concept_check.hpp>
#include <boost/numeric/conversion/cast.hpp>
Modified: sandbox/geometry/boost/geometry/policies/relate/intersection_points_determinant.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/relate/intersection_points_determinant.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/relate/intersection_points_determinant.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
#define BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
+
+#include <string>
+
#include <boost/concept_check.hpp>
#include <boost/numeric/conversion/cast.hpp>
Modified: sandbox/geometry/boost/geometry/policies/relate/intersection_points_slope.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/relate/intersection_points_slope.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/relate/intersection_points_slope.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
#define BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_INTERSECTION_POINTS_HPP
+
+#include <string>
+
#include <boost/concept_check.hpp>
#include <boost/numeric/conversion/cast.hpp>
Modified: sandbox/geometry/boost/geometry/policies/relate/tupled.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/policies/relate/tupled.hpp (original)
+++ sandbox/geometry/boost/geometry/policies/relate/tupled.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_TUPLED_HPP
#define BOOST_GEOMETRY_GEOMETRY_POLICIES_RELATE_TUPLED_HPP
+
+#include <string>
+
#include <boost/tuple/tuple.hpp>
#include <boost/geometry/strategies/side_info.hpp>
#include <boost/geometry/util/select_calculation_type.hpp>
@@ -52,9 +55,9 @@
{
return boost::make_tuple
(
- Policy1::segments_intersect(sides,
+ Policy1::segments_intersect(sides,
dx1, dy1, dx2, dy2, s1, s2),
- Policy2::segments_intersect(sides,
+ Policy2::segments_intersect(sides,
dx1, dy1, dx2, dy2, s1, s2)
);
}
@@ -71,7 +74,7 @@
template <typename S>
static inline return_type collinear_interior_boundary_intersect(S const& segment,
- bool a_within_b,
+ bool a_within_b,
int arrival_a, int arrival_b, bool opposite)
{
return boost::make_tuple
Modified: sandbox/geometry/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,7 +9,10 @@
#ifndef BOOST_GEOMETRY_STRATEGY_AGNOSTIC_SIMPLIFY_DOUGLAS_PEUCKER_HPP
#define BOOST_GEOMETRY_STRATEGY_AGNOSTIC_SIMPLIFY_DOUGLAS_PEUCKER_HPP
+
+#include <cstddef>
#include <vector>
+
#include <boost/range/functions.hpp>
#include <boost/geometry/core/cs.hpp>
Modified: sandbox/geometry/boost/geometry/strategies/centroid.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/centroid.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/centroid.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -10,6 +10,8 @@
#define BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
+#include <cstddef>
+
#include <boost/geometry/strategies/tags.hpp>
Modified: sandbox/geometry/boost/geometry/strategies/intersection_result.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/intersection_result.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/intersection_result.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -13,6 +13,9 @@
#include <string>
#endif
+#include <cstddef>
+
+
namespace boost { namespace geometry
{
Modified: sandbox/geometry/boost/geometry/strategies/transform/map_transformer.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/transform/map_transformer.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/transform/map_transformer.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -10,6 +10,8 @@
#define BOOST_GEOMETRY_STRATEGIES_TRANSFORM_MAP_TRANSFORMER_HPP
+#include <cstddef>
+
#include <boost/geometry/strategies/transform/matrix_transformers.hpp>
Modified: sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -9,6 +9,9 @@
#ifndef BOOST_GEOMETRY_STRATEGIES_TRANSFORM_MATRIX_TRANSFORMERS_HPP
#define BOOST_GEOMETRY_STRATEGIES_TRANSFORM_MATRIX_TRANSFORMERS_HPP
+
+#include <cstddef>
+
// Remove the ublas checking, otherwise the inverse might fail
// (while nothing seems to be wrong)
#define BOOST_UBLAS_TYPE_CHECK 0
@@ -25,10 +28,10 @@
#include <boost/geometry/util/select_most_precise.hpp>
-namespace boost { namespace geometry
+namespace boost { namespace geometry
{
-namespace strategy { namespace transform
+namespace strategy { namespace transform
{
/*!
Modified: sandbox/geometry/boost/geometry/util/readme.txt
==============================================================================
--- sandbox/geometry/boost/geometry/util/readme.txt (original)
+++ sandbox/geometry/boost/geometry/util/readme.txt 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -1,3 +1,10 @@
+// Boost.Geometry (aka GGL, Generic Geometry Library)
+//
+// Copyright Barend Gehrels 2010, Geodan, Amsterdam, the Netherlands.
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
This folder contains several headerfiles not fitting in one of the other folders,
or meta-functions which would fit into boost as a separate trait or utility,
such as add_const_if_c
Modified: sandbox/geometry/boost/geometry/util/write_dsv.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/util/write_dsv.hpp (original)
+++ sandbox/geometry/boost/geometry/util/write_dsv.hpp 2010-04-22 17:59:06 EDT (Thu, 22 Apr 2010)
@@ -8,6 +8,8 @@
#ifndef BOOST_GEOMETRY_UTIL_WRITE_DSV_HPP
#define BOOST_GEOMETRY_UTIL_WRITE_DSV_HPP
+
+#include <cstddef>
#include <ostream>
#include <string>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk