Remove trailing whitespaces from include and index directories · boostorg/geometry@eb38231 · GitHub
Skip to content

Commit eb38231

Browse files
committed
Remove trailing whitespaces from include and index directories
1 parent 1451c6c commit eb38231

338 files changed

Lines changed: 990 additions & 990 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎include/boost/geometry/algorithms/area.hpp‎

Lines changed: 1 addition & 1 deletion

‎include/boost/geometry/algorithms/assign.hpp‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct assign
231231
concepts::check<Geometry1>();
232232
concepts::check<Geometry2 const>();
233233
concepts::check_concepts_and_equal_dimensions<Geometry1, Geometry2 const>();
234-
234+
235235
static bool const same_point_order
236236
= point_order<Geometry1>::value == point_order<Geometry2>::value;
237237
BOOST_GEOMETRY_STATIC_ASSERT(
@@ -244,23 +244,23 @@ struct assign
244244
same_closure,
245245
"Assign is not supported for different closures.",
246246
Geometry1, Geometry2);
247-
247+
248248
dispatch::convert<Geometry2, Geometry1>::apply(geometry2, geometry1);
249249
}
250250
};
251-
252-
251+
252+
253253
template <BOOST_VARIANT_ENUM_PARAMS(typename T), typename Geometry2>
254254
struct assign<variant<BOOST_VARIANT_ENUM_PARAMS(T)>, Geometry2>
255255
{
256256
struct visitor: static_visitor<void>
257257
{
258258
Geometry2 const& m_geometry2;
259-
259+
260260
visitor(Geometry2 const& geometry2)
261261
: m_geometry2(geometry2)
262262
{}
263-
263+
264264
template <typename Geometry1>
265265
result_type operator()(Geometry1& geometry1) const
266266
{
@@ -272,27 +272,27 @@ struct assign<variant<BOOST_VARIANT_ENUM_PARAMS(T)>, Geometry2>
272272
(geometry1, m_geometry2);
273273
}
274274
};
275-
275+
276276
static inline void
277277
apply(variant<BOOST_VARIANT_ENUM_PARAMS(T)>& geometry1,
278278
Geometry2 const& geometry2)
279279
{
280280
return boost::apply_visitor(visitor(geometry2), geometry1);
281281
}
282282
};
283-
284-
283+
284+
285285
template <typename Geometry1, BOOST_VARIANT_ENUM_PARAMS(typename T)>
286286
struct assign<Geometry1, variant<BOOST_VARIANT_ENUM_PARAMS(T)> >
287287
{
288288
struct visitor: static_visitor<void>
289289
{
290290
Geometry1& m_geometry1;
291-
291+
292292
visitor(Geometry1 const& geometry1)
293293
: m_geometry1(geometry1)
294294
{}
295-
295+
296296
template <typename Geometry2>
297297
result_type operator()(Geometry2 const& geometry2) const
298298
{
@@ -304,16 +304,16 @@ struct assign<Geometry1, variant<BOOST_VARIANT_ENUM_PARAMS(T)> >
304304
(m_geometry1, geometry2);
305305
}
306306
};
307-
307+
308308
static inline void
309309
apply(Geometry1& geometry1,
310310
variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry2)
311311
{
312312
return boost::apply_visitor(visitor(geometry1), geometry2);
313313
}
314314
};
315-
316-
315+
316+
317317
template <BOOST_VARIANT_ENUM_PARAMS(typename T1), BOOST_VARIANT_ENUM_PARAMS(typename T2)>
318318
struct assign<variant<BOOST_VARIANT_ENUM_PARAMS(T1)>, variant<BOOST_VARIANT_ENUM_PARAMS(T2)> >
319319
{
@@ -332,17 +332,17 @@ struct assign<variant<BOOST_VARIANT_ENUM_PARAMS(T1)>, variant<BOOST_VARIANT_ENUM
332332
(geometry1, geometry2);
333333
}
334334
};
335-
335+
336336
static inline void
337337
apply(variant<BOOST_VARIANT_ENUM_PARAMS(T1)>& geometry1,
338338
variant<BOOST_VARIANT_ENUM_PARAMS(T2)> const& geometry2)
339339
{
340340
return boost::apply_visitor(visitor(), geometry1, geometry2);
341341
}
342342
};
343-
343+
344344
} // namespace resolve_variant
345-
345+
346346

347347
/*!
348348
\brief Assigns one geometry to another geometry

‎include/boost/geometry/algorithms/azimuth.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace boost { namespace geometry
4040
#ifndef DOXYGEN_NO_DETAIL
4141
namespace detail
4242
{
43-
43+
4444
} // namespace detail
4545
#endif // DOXYGEN_NO_DETAIL
4646

@@ -183,7 +183,7 @@ inline auto azimuth(Point1 const& point1, Point2 const& point2)
183183
{
184184
concepts::check<Point1 const>();
185185
concepts::check<Point2 const>();
186-
186+
187187
return resolve_strategy::azimuth
188188
<
189189
default_strategy

‎include/boost/geometry/algorithms/centroid.hpp‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@ struct centroid_range
218218
{
219219
// prepare translation transformer
220220
translating_transformer<Range> transformer(*boost::begin(range));
221-
221+
222222
typename Strategy::template state_type
223223
<
224224
typename geometry::point_type<Range>::type,
225225
Point
226226
>::type state;
227227

228228
centroid_range_state::apply(range, transformer, strategy, state);
229-
229+
230230
if ( strategy.result(state, centroid) )
231231
{
232232
// translate the result back
@@ -277,15 +277,15 @@ struct centroid_polygon
277277
// prepare translation transformer
278278
translating_transformer<Polygon>
279279
transformer(*boost::begin(exterior_ring(poly)));
280-
280+
281281
typename Strategy::template state_type
282282
<
283283
typename geometry::point_type<Polygon>::type,
284284
Point
285285
>::type state;
286286

287287
centroid_polygon_state::apply(poly, transformer, strategy, state);
288-
288+
289289
if ( strategy.result(state, centroid) )
290290
{
291291
// translate the result back
@@ -366,7 +366,7 @@ struct centroid_multi
366366
transformer.apply_reverse(centroid);
367367
return true;
368368
}
369-
369+
370370
return false;
371371
}
372372
};

‎include/boost/geometry/algorithms/convert.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct range_to_range
152152
geometry::detail::conversion::convert_point_to_point(point1, point2);
153153
}
154154
};
155-
155+
156156
static inline void apply(Range1 const& source, Range2& destination)
157157
{
158158
apply(source, destination, default_policy());

‎include/boost/geometry/algorithms/crosses.hpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct crosses
231231
>::apply(geometry1, geometry2, strategy);
232232
}
233233
};
234-
234+
235235

236236
template <typename DynamicGeometry1, typename Geometry2, typename Tag2>
237237
struct crosses<DynamicGeometry1, Geometry2, dynamic_geometry_tag, Tag2>
@@ -295,10 +295,10 @@ struct crosses<DynamicGeometry1, DynamicGeometry2, dynamic_geometry_tag, dynamic
295295
}
296296
};
297297

298-
298+
299299
} // namespace resolve_dynamic
300-
301-
300+
301+
302302
/*!
303303
\brief \brief_check2{crosses}
304304
\ingroup crosses

‎include/boost/geometry/algorithms/densify.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct densify_range
8888
{
8989
return;
9090
}
91-
91+
9292
auto strategy = strategies.densify(rng);
9393
push_back_policy<MutRng> policy(rng_out);
9494

@@ -349,7 +349,7 @@ struct densify<default_strategy, false>
349349
<
350350
Geometry
351351
>::type strategies_type;
352-
352+
353353
dispatch::densify
354354
<
355355
Geometry, Geometry

‎include/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace detail { namespace buffer
3232
{
3333

3434

35-
template <typename Strategy>
35+
template <typename Strategy>
3636
struct original_get_box
3737
{
3838
explicit original_get_box(Strategy const& strategy)

‎include/boost/geometry/algorithms/detail/calculate_point_order.hpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ struct calculate_point_order_by_azimuth
128128
{
129129
// Add point
130130
cleaned.push_back(clean_point_t(it));
131-
131+
132132
while (cleaned.size() >= 3)
133133
{
134134
cleaned_iter_t it0 = cleaned.end() - 3;
135135
cleaned_iter_t it1 = cleaned.end() - 2;
136136
cleaned_iter_t it2 = cleaned.end() - 1;
137137

138-
calc_t diff;
138+
calc_t diff;
139139
if (get_or_calculate_azimuths_difference(*it0, *it1, *it2, diff, strategy)
140140
&& ! math::equals(math::abs(diff), pi))
141141
{
@@ -148,7 +148,7 @@ struct calculate_point_order_by_azimuth
148148
// TODO: angles have to be invalidated only if spike is detected
149149
// for duplicates it'd be ok to leave them
150150
it0->set_azimuth_invalid();
151-
it0->set_azimuth_difference_invalid();
151+
it0->set_azimuth_difference_invalid();
152152
it2->set_azimuth_difference_invalid();
153153
cleaned.erase(it1);
154154
}
@@ -269,7 +269,7 @@ struct calculate_point_order_by_azimuth
269269
razi = p0.reverse_azimuth();
270270
return true;
271271
}
272-
272+
273273
if (strategy.apply(p0.ref(), p1.ref(), azi, razi))
274274
{
275275
p0.set_azimuths(azi, razi);

‎include/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)