diff --git a/doc/src/examples/algorithms/Jamfile.v2 b/doc/src/examples/algorithms/Jamfile.v2 index 76e8f03e0..5a223a06b 100644 --- a/doc/src/examples/algorithms/Jamfile.v2 +++ b/doc/src/examples/algorithms/Jamfile.v2 @@ -22,8 +22,11 @@ exe assign_box_corners : assign_box_corners.cpp ; exe assign_point_from_index : assign_point_from_index.cpp ; exe assign_point_to_index : assign_point_to_index.cpp ; +exe centroid : centroid.cpp ; exe clear : clear.cpp ; +exe distance : distance.cpp ; + exe for_each_point : for_each_point.cpp ; exe for_each_point_const : for_each_point_const.cpp ; exe for_each_segment_const : for_each_segment_const.cpp ; @@ -48,3 +51,5 @@ exe length_with_strategy : length_with_strategy.cpp ; exe simplify : length.cpp ; exe simplify_inserter : simplify_inserter.cpp ; + +exe within : within.cpp ; \ No newline at end of file diff --git a/doc/src/examples/algorithms/append.cpp b/doc/src/examples/algorithms/append.cpp index 6a58ecf71..692951433 100644 --- a/doc/src/examples/algorithms/append.cpp +++ b/doc/src/examples/algorithms/append.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[append //` Shows usage of Boost.Geometry's append to append a point or a range to a polygon diff --git a/doc/src/examples/algorithms/area.cpp b/doc/src/examples/algorithms/area.cpp index 8f55f5d07..d89d0012c 100644 --- a/doc/src/examples/algorithms/area.cpp +++ b/doc/src/examples/algorithms/area.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[area //` Calculate the area of a polygon diff --git a/doc/src/examples/algorithms/area_with_strategy.cpp b/doc/src/examples/algorithms/area_with_strategy.cpp index feba9ac44..808f102ff 100644 --- a/doc/src/examples/algorithms/area_with_strategy.cpp +++ b/doc/src/examples/algorithms/area_with_strategy.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[area_with_strategy //` Calculate the area of a polygon diff --git a/doc/src/examples/algorithms/assign_2d_point.cpp b/doc/src/examples/algorithms/assign_2d_point.cpp index 0cf680ca5..140f0f0c5 100644 --- a/doc/src/examples/algorithms/assign_2d_point.cpp +++ b/doc/src/examples/algorithms/assign_2d_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_2d_point //` Shows the usage of assign to set point coordinates, and, besides that, shows how you can initialize ttmath points with high precision diff --git a/doc/src/examples/algorithms/assign_3d_point.cpp b/doc/src/examples/algorithms/assign_3d_point.cpp index ac44d8e93..51e91ff31 100644 --- a/doc/src/examples/algorithms/assign_3d_point.cpp +++ b/doc/src/examples/algorithms/assign_3d_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_3d_point //` Use assign to set three coordinates of a 3D point diff --git a/doc/src/examples/algorithms/assign_box_corners.cpp b/doc/src/examples/algorithms/assign_box_corners.cpp index 1fcad7191..01ec6ae15 100644 --- a/doc/src/examples/algorithms/assign_box_corners.cpp +++ b/doc/src/examples/algorithms/assign_box_corners.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_box_corners //` Shows how four point can be assigned from a 2D box diff --git a/doc/src/examples/algorithms/assign_inverse.cpp b/doc/src/examples/algorithms/assign_inverse.cpp index d372af684..8685f1397 100644 --- a/doc/src/examples/algorithms/assign_inverse.cpp +++ b/doc/src/examples/algorithms/assign_inverse.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_inverse //` Usage of assign_inverse and expand to conveniently determine bounding 3D box of two points diff --git a/doc/src/examples/algorithms/assign_point_from_index.cpp b/doc/src/examples/algorithms/assign_point_from_index.cpp index 18d70523e..9b2da934b 100644 --- a/doc/src/examples/algorithms/assign_point_from_index.cpp +++ b/doc/src/examples/algorithms/assign_point_from_index.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_point_from_index //` Shows how to retrieve one point from a box (either lower-left or upper-right) or segment diff --git a/doc/src/examples/algorithms/assign_point_to_index.cpp b/doc/src/examples/algorithms/assign_point_to_index.cpp index f54317ee1..8cec40be8 100644 --- a/doc/src/examples/algorithms/assign_point_to_index.cpp +++ b/doc/src/examples/algorithms/assign_point_to_index.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_point_to_index //` Shows how to assign the lower-left or upper-right point from a box diff --git a/doc/src/examples/algorithms/assign_with_range.cpp b/doc/src/examples/algorithms/assign_with_range.cpp index f5db43f6a..1a212245f 100644 --- a/doc/src/examples/algorithms/assign_with_range.cpp +++ b/doc/src/examples/algorithms/assign_with_range.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[assign_with_range //` Shows usage of Boost.Geometry's assign, Boost.Assign, and Boost.Range to assign ranges of a linestring diff --git a/doc/src/examples/algorithms/centroid.cpp b/doc/src/examples/algorithms/centroid.cpp index 950d87526..e4004183a 100644 --- a/doc/src/examples/algorithms/centroid.cpp +++ b/doc/src/examples/algorithms/centroid.cpp @@ -1,5 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) -// Quickbook Example +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -7,7 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) - //[centroid //` Shows calculation of a centroid of a polygon diff --git a/doc/src/examples/algorithms/clear.cpp b/doc/src/examples/algorithms/clear.cpp index 15a2510bf..1bca324f4 100644 --- a/doc/src/examples/algorithms/clear.cpp +++ b/doc/src/examples/algorithms/clear.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[clear //` Shows how to clear a ring or polygon diff --git a/doc/src/examples/algorithms/difference.cpp b/doc/src/examples/algorithms/difference.cpp index fb4ae499f..44bcf82b5 100644 --- a/doc/src/examples/algorithms/difference.cpp +++ b/doc/src/examples/algorithms/difference.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[difference //` Shows how to subtract one polygon from another polygon diff --git a/doc/src/examples/algorithms/difference_inserter.cpp b/doc/src/examples/algorithms/difference_inserter.cpp index 744c55913..3c54ccd5b 100644 --- a/doc/src/examples/algorithms/difference_inserter.cpp +++ b/doc/src/examples/algorithms/difference_inserter.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[difference_inserter //` Shows how the difference_inserter function can be used diff --git a/doc/src/examples/algorithms/distance.cpp b/doc/src/examples/algorithms/distance.cpp index 4396763dc..2676af350 100644 --- a/doc/src/examples/algorithms/distance.cpp +++ b/doc/src/examples/algorithms/distance.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[distance //` Shows calculation of distance of point to some other geometries diff --git a/doc/src/examples/algorithms/envelope.cpp b/doc/src/examples/algorithms/envelope.cpp index a5b70dcf9..ec50f572c 100644 --- a/doc/src/examples/algorithms/envelope.cpp +++ b/doc/src/examples/algorithms/envelope.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[envelope //` Shows how to calculate the bounding box of a polygon diff --git a/doc/src/examples/algorithms/for_each_point.cpp b/doc/src/examples/algorithms/for_each_point.cpp index c80833a07..23c3b5a37 100644 --- a/doc/src/examples/algorithms/for_each_point.cpp +++ b/doc/src/examples/algorithms/for_each_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[for_each_point //` Convenient usage of for_each_point, rounding all points of a geometry diff --git a/doc/src/examples/algorithms/for_each_point_const.cpp b/doc/src/examples/algorithms/for_each_point_const.cpp index a2879238b..51d5f7a5e 100644 --- a/doc/src/examples/algorithms/for_each_point_const.cpp +++ b/doc/src/examples/algorithms/for_each_point_const.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[for_each_point_const //` Sample using for_each_point, using a function to list coordinates diff --git a/doc/src/examples/algorithms/for_each_segment_const.cpp b/doc/src/examples/algorithms/for_each_segment_const.cpp index 97df72fa1..3d0a6d914 100644 --- a/doc/src/examples/algorithms/for_each_segment_const.cpp +++ b/doc/src/examples/algorithms/for_each_segment_const.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[for_each_segment_const //` Sample using for_each_segment, using a functor to get the minimum and maximum length of a segment in a linestring diff --git a/doc/src/examples/algorithms/intersection_ls_ls_point.cpp b/doc/src/examples/algorithms/intersection_ls_ls_point.cpp index ccb94a4af..827f2b403 100644 --- a/doc/src/examples/algorithms/intersection_ls_ls_point.cpp +++ b/doc/src/examples/algorithms/intersection_ls_ls_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[intersection_ls_ls_point //` Calculate the intersection of two linestrings diff --git a/doc/src/examples/algorithms/intersection_poly_poly.cpp b/doc/src/examples/algorithms/intersection_poly_poly.cpp index 5b856ce65..d863ca6b8 100644 --- a/doc/src/examples/algorithms/intersection_poly_poly.cpp +++ b/doc/src/examples/algorithms/intersection_poly_poly.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[intersection //` Shows the intersection of two polygons diff --git a/doc/src/examples/algorithms/intersection_segment.cpp b/doc/src/examples/algorithms/intersection_segment.cpp index e756c336a..bbbc1d497 100644 --- a/doc/src/examples/algorithms/intersection_segment.cpp +++ b/doc/src/examples/algorithms/intersection_segment.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[intersection_segment //` Calculate the intersection point (or points) of two segments diff --git a/doc/src/examples/algorithms/intersects_linestring.cpp b/doc/src/examples/algorithms/intersects_linestring.cpp index 68a561761..3d98e0a6b 100644 --- a/doc/src/examples/algorithms/intersects_linestring.cpp +++ b/doc/src/examples/algorithms/intersects_linestring.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[intersects_linestring //` Check if two linestrings intersect each other diff --git a/doc/src/examples/algorithms/intersects_segment.cpp b/doc/src/examples/algorithms/intersects_segment.cpp index 50c8d5ed8..fc96a3e88 100644 --- a/doc/src/examples/algorithms/intersects_segment.cpp +++ b/doc/src/examples/algorithms/intersects_segment.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[intersects //` Check if two linestrings intersect each other diff --git a/doc/src/examples/algorithms/length.cpp b/doc/src/examples/algorithms/length.cpp index 72d4622db..1eab5e117 100644 --- a/doc/src/examples/algorithms/length.cpp +++ b/doc/src/examples/algorithms/length.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[length //` The following simple example shows the calculation of the length of a linestring containing three points diff --git a/doc/src/examples/algorithms/length_with_strategy.cpp b/doc/src/examples/algorithms/length_with_strategy.cpp index ff01a6128..4f35ae41b 100644 --- a/doc/src/examples/algorithms/length_with_strategy.cpp +++ b/doc/src/examples/algorithms/length_with_strategy.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[length_with_strategy //`The following example shows the length measured over a sphere, expressed in kilometers. To do that the radius of the sphere must be specified in the constructor of the strategy. diff --git a/doc/src/examples/algorithms/make_2d_point.cpp b/doc/src/examples/algorithms/make_2d_point.cpp index cf8ebfcfb..be55eb553 100644 --- a/doc/src/examples/algorithms/make_2d_point.cpp +++ b/doc/src/examples/algorithms/make_2d_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[make_2d_point //` Shows the usage of make as a generic constructor for different point types diff --git a/doc/src/examples/algorithms/make_3d_point.cpp b/doc/src/examples/algorithms/make_3d_point.cpp index 4d44f7743..254f0b281 100644 --- a/doc/src/examples/algorithms/make_3d_point.cpp +++ b/doc/src/examples/algorithms/make_3d_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[make_3d_point //` Using make to construct a three dimensional point diff --git a/doc/src/examples/algorithms/make_envelope.cpp b/doc/src/examples/algorithms/make_envelope.cpp index 492ba3b30..8be4e9d81 100644 --- a/doc/src/examples/algorithms/make_envelope.cpp +++ b/doc/src/examples/algorithms/make_envelope.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[make_envelope //` Shows how to return the envelope of a ring diff --git a/doc/src/examples/algorithms/make_inverse.cpp b/doc/src/examples/algorithms/make_inverse.cpp index 9eec40a61..cfcd718ee 100644 --- a/doc/src/examples/algorithms/make_inverse.cpp +++ b/doc/src/examples/algorithms/make_inverse.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[make_inverse //` Usage of make_inverse and expand to conveniently determine bounding box of several objects diff --git a/doc/src/examples/algorithms/make_with_range.cpp b/doc/src/examples/algorithms/make_with_range.cpp index 7d67931ba..3b996ac4a 100644 --- a/doc/src/examples/algorithms/make_with_range.cpp +++ b/doc/src/examples/algorithms/make_with_range.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[make_with_range //` Using make to construct a linestring with two different range types diff --git a/doc/src/examples/algorithms/num_geometries.cpp b/doc/src/examples/algorithms/num_geometries.cpp index ba7df4a21..87805761b 100644 --- a/doc/src/examples/algorithms/num_geometries.cpp +++ b/doc/src/examples/algorithms/num_geometries.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[num_geometries //` Get the number of geometries making up a multi-geometry diff --git a/doc/src/examples/algorithms/num_interior_rings.cpp b/doc/src/examples/algorithms/num_interior_rings.cpp index 318b9e1f6..ca09fb57a 100644 --- a/doc/src/examples/algorithms/num_interior_rings.cpp +++ b/doc/src/examples/algorithms/num_interior_rings.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[num_interior_rings //` Get the number of interior rings in a polygon or multi-polygon diff --git a/doc/src/examples/algorithms/num_points.cpp b/doc/src/examples/algorithms/num_points.cpp index ce5664fd3..b44c44c2a 100644 --- a/doc/src/examples/algorithms/num_points.cpp +++ b/doc/src/examples/algorithms/num_points.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[num_points //` Get the number of points in a geometry diff --git a/doc/src/examples/algorithms/simplify.cpp b/doc/src/examples/algorithms/simplify.cpp index 94ee4875e..f67a256b3 100644 --- a/doc/src/examples/algorithms/simplify.cpp +++ b/doc/src/examples/algorithms/simplify.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[simplify //` Example showing how to simplify a linestring diff --git a/doc/src/examples/algorithms/simplify_inserter.cpp b/doc/src/examples/algorithms/simplify_inserter.cpp index 7254f2d05..e3a2e7c05 100644 --- a/doc/src/examples/algorithms/simplify_inserter.cpp +++ b/doc/src/examples/algorithms/simplify_inserter.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[simplify_inserter //` Simplify a linestring using a back inserter diff --git a/doc/src/examples/algorithms/simplify_inserter_with_strategy.cpp b/doc/src/examples/algorithms/simplify_inserter_with_strategy.cpp index 9c2c3efc6..a73cd0c68 100644 --- a/doc/src/examples/algorithms/simplify_inserter_with_strategy.cpp +++ b/doc/src/examples/algorithms/simplify_inserter_with_strategy.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[simplify_inserter //` Simplify a linestring using an output iterator diff --git a/doc/src/examples/algorithms/sym_difference.cpp b/doc/src/examples/algorithms/sym_difference.cpp index 22421ad80..80d487819 100644 --- a/doc/src/examples/algorithms/sym_difference.cpp +++ b/doc/src/examples/algorithms/sym_difference.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[sym_difference //` Shows how to calculate the symmetric difference (XOR) of two polygons diff --git a/doc/src/examples/algorithms/union.cpp b/doc/src/examples/algorithms/union.cpp index c348b9af9..865da72c2 100644 --- a/doc/src/examples/algorithms/union.cpp +++ b/doc/src/examples/algorithms/union.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[union //` Shows how to get a united geometry of two polygons diff --git a/doc/src/examples/algorithms/within.cpp b/doc/src/examples/algorithms/within.cpp index ca5e3616e..cb8e110fc 100644 --- a/doc/src/examples/algorithms/within.cpp +++ b/doc/src/examples/algorithms/within.cpp @@ -1,5 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) -// Quickbook Example +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -7,7 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) - //[within //` Shows how to detect if a point is inside a polygon, or not diff --git a/doc/src/examples/core/get_box.cpp b/doc/src/examples/core/get_box.cpp index 987867a60..379f8c99d 100644 --- a/doc/src/examples/core/get_box.cpp +++ b/doc/src/examples/core/get_box.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[get_box //` Get the coordinate of a box diff --git a/doc/src/examples/core/get_point.cpp b/doc/src/examples/core/get_point.cpp index 919375e09..126b25aac 100644 --- a/doc/src/examples/core/get_point.cpp +++ b/doc/src/examples/core/get_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[get_point //` Get the coordinate of a point diff --git a/doc/src/examples/core/set_box.cpp b/doc/src/examples/core/set_box.cpp index 0d680a7b4..e4b871330 100644 --- a/doc/src/examples/core/set_box.cpp +++ b/doc/src/examples/core/set_box.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[set_box //` Set the coordinate of a box diff --git a/doc/src/examples/core/set_point.cpp b/doc/src/examples/core/set_point.cpp index 9e13c1f2e..14a3c5138 100644 --- a/doc/src/examples/core/set_point.cpp +++ b/doc/src/examples/core/set_point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[set_point //` Set the coordinate of a point diff --git a/doc/src/examples/geometries/point.cpp b/doc/src/examples/geometries/point.cpp index bc2ef4f57..680ca4a5e 100644 --- a/doc/src/examples/geometries/point.cpp +++ b/doc/src/examples/geometries/point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[point //` Declaration and use of the Boost.Geometry model::point, modelling the Point Concept diff --git a/doc/src/examples/geometries/register/point.cpp b/doc/src/examples/geometries/register/point.cpp index 396b0026e..d4a27c545 100644 --- a/doc/src/examples/geometries/register/point.cpp +++ b/doc/src/examples/geometries/register/point.cpp @@ -1,4 +1,5 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) +// QuickBook Example // Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands. @@ -6,8 +7,6 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Quickbook Example - //[register_point_2d //` Show the use of the macro BOOST_GEOMETRY_REGISTER_POINT_2D diff --git a/doc/src/examples/quick_start.cpp b/doc/src/examples/quick_start.cpp index dfa0cfba7..36567b3fa 100644 --- a/doc/src/examples/quick_start.cpp +++ b/doc/src/examples/quick_start.cpp @@ -1,12 +1,17 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) -// -// Copyright Barend Gehrels 2007-2009, Geodan, Amsterdam, the Netherlands -// Copyright Bruno Lalande 2008, 2009 +// Quickbook Examples, for main page + +// Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands. +// Copyright (c) 2008-2011 Bruno Lalande, Paris, France. +// Copyright (c) 2009-2011 Mateusz Loskot, London, UK. + +// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library +// (geolib/GGL), copyright (c) 1995-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) // -// Quickbook Examples, for main page #include