diff --git a/doc/compiling.qbk b/doc/compiling.qbk index f1084deca..f549fabd0 100644 --- a/doc/compiling.qbk +++ b/doc/compiling.qbk @@ -39,9 +39,11 @@ compilers: * 9.0 (__msvc__ 2008) [/reported by Trunk report May 8, 2011] * 8.0 (__msvc__ 2005) [/reported by Trunk report May 8, 2011] * gcc + * gcc 4.7.0 [/reported by Trunk report February 12, 2012] + * gcc 4.6.2 [/reported by Trunk report February 12, 2012] * gcc 4.6.1 [/reported by Trunk report May 8, 2011] - * gcc 4.6.0 (including C++0x) [/reported by Trunk report May 8, 2011] - * gcc 4.5.2 (including C++0x) [/reported by Trunk report May 8, 2011] + * gcc 4.6.0 [/reported by Trunk report May 8, 2011] + * gcc 4.5.2 [/reported by Trunk report May 8, 2011] * gcc 4.4.0 [/reported by Trunk report May 8, 2011] * gcc 4.3.4 [/reported by Trunk report March 26, 2011] * gcc 4.2.1 [/reported by Trunk report May 8, 2011] diff --git a/doc/concept/linestring.qbk b/doc/concept/linestring.qbk index 7d9902bc5..0cf21b723 100644 --- a/doc/concept/linestring.qbk +++ b/doc/concept/linestring.qbk @@ -16,7 +16,7 @@ [concept Linestring..linestring] A linestring is ['a Curve with linear interpolation between Points]. -([@http://portal.opengeospatial.org/files/?artifact_id=25355 opengeospatial]). +(__ogc_sf__). [heading Concept Definition] @@ -27,9 +27,19 @@ The Linestring Concept is defined as following: * The type defined by the metafunction `range_value<...>::type` must fulfill the [link geometry.reference.concepts.concept_point Point Concept] +[heading Rules] + +Besides the Concepts, which are checks on compile-time, there are rules that +valid linestrings must fulfill. Most algorithms work on any linestring, so either +self-crossing or not. However, for correct results using the overlay algorithms +(intersection and difference algorithms in combination with a polygon) +self-intersections can disturb the process and result in incorrect results. + [heading Available Models] * [link geometry.reference.models.model_linestring model::linestring] * a std::vector (requires registration) * a std::deque (requires registration) +[see_boost_range_sample Linestring] + [endsect] diff --git a/doc/concept/polygon.qbk b/doc/concept/polygon.qbk index 9de46d824..14f040ce8 100644 --- a/doc/concept/polygon.qbk +++ b/doc/concept/polygon.qbk @@ -16,7 +16,7 @@ [concept Polygon..polygon] A polygon is ['A polygon is a planar surface defined by one exterior boundary and zero or more interior boundaries] -([@http://portal.opengeospatial.org/files/?artifact_id=25355 opengeospatial]). +(__ogc_sf__). So the definition of a Boost.Geometry polygon differs a bit from e.g. Wiki, where a polygon does not have holes. A polygon of Boost.Geometry is a polygon with or without holes. diff --git a/doc/concept/ring.qbk b/doc/concept/ring.qbk index 63c121d34..67bc2d0cb 100644 --- a/doc/concept/ring.qbk +++ b/doc/concept/ring.qbk @@ -41,5 +41,6 @@ on the rules a polygon (and also a ring) must fulfill. * a std::vector (requires `#include boost/geometry/geometries/adapted/std_as_ring.hpp>`) * a std::deque (requires `#include boost/geometry/geometries/adapted/std_as_ring.hpp>`) +[see_boost_range_sample Ring] [endsect] diff --git a/doc/generated/append_status.qbk b/doc/generated/append_status.qbk index ba6925202..51329f887 100644 --- a/doc/generated/append_status.qbk +++ b/doc/generated/append_status.qbk @@ -1,3 +1,4 @@ +[/NOTE: adapted manually, multi-linestring/multi-polygon do compile but not run!] [heading Supported geometries] [table [[ ][Point][Range]] @@ -8,6 +9,6 @@ [[Ring][ [$img/ok.png] ][ [$img/ok.png] ]] [[Polygon][ [$img/ok.png] ][ [$img/ok.png] ]] [[MultiPoint][ [$img/ok.png] ][ [$img/ok.png] ]] -[[MultiLinestring][ [$img/ok.png] ][ [$img/ok.png] ]] -[[MultiPolygon][ [$img/ok.png] ][ [$img/ok.png] ]] +[[MultiLinestring][ [$img/nyi.png] ][ [$img/nyi.png] ]] +[[MultiPolygon][ [$img/nyi.png] ][ [$img/nyi.png] ]] ] diff --git a/doc/geometry.qbk b/doc/geometry.qbk index b49227265..8297e3de7 100644 --- a/doc/geometry.qbk +++ b/doc/geometry.qbk @@ -12,7 +12,6 @@ [library Geometry [quickbook 1.5] - [version 1.49] [authors [Gehrels, Barend], [Lalande, Bruno], [Loskot, Mateusz]] [copyright 2009-2012 Barend Gehrels, Bruno Lalande, Mateusz Loskot] [purpose Documentation of Boost.Geometry library] @@ -61,10 +60,6 @@ [template qbk_ret[what] Returns [what]] [template qbk_out[what] GeometryOut is a [what]] -[template concept[name type] The [name] Concept describes the requirements for a [type] type. -All algorithms in Boost.Geometry will check any geometry arguments against the concept requirements.] - - [def __boost__ Boost] [def __boost_geometry__ Boost.Geometry] [def __boost_array__ Boost.Array] @@ -78,6 +73,35 @@ All algorithms in Boost.Geometry will check any geometry arguments against the c [def __ttmath__ [@http://www.ttmath.org/ ttmath]] [def __ogc__ [@http://www.opengeospatial.org OGC]] +[def __ogc_sf__ [@http://www.opengeospatial.org/standards/sfa OGC Simple Feature Specification]] + +[/Templates] +[template concept[name type] +The [name] Concept describes the requirements for a [type] type. +All algorithms in Boost.Geometry will check any geometry arguments against the concept requirements. +] + +[template heading_conformance_no_ogc[function] +[heading Conformance] +The function [function] is not defined by OGC. +] + +[template heading_conformance_ogc[function ogc_function] +[heading Conformance] +The function [function] implements function [ogc_function] from the __ogc_sf__. +] + +[template conformance_std[function std_function] +The function [function] conforms to the [std_function] of the C++ std-library. +] + +[template see_boost_range_sample[concept] +[note See also the sample in the [@../../../range/doc/html/range/reference/extending/method_2.html Boost.Range documentation] + showing how a type can be adapted to a Boost.Range to fulfill the concept of a [concept] +] +] + + [heading Contributions] Boost.Geometry contains contributions by: diff --git a/doc/html/index.html b/doc/html/index.html index 09c4188c7..7ed18f667 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -1,10 +1,10 @@
-Copyright © 2009-2012 Barend Gehrels, Bruno Lalande, Mateusz Loskot
Distributed under 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)
@@ -89,24 +89,24 @@ Alfredo Correa (adaption of Boost.Array)Last revised: February 12, 2012 at 12:12:26 GMT |
+Last revised: February 12, 2012 at 17:59:04 GMT |