Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61140 - sandbox/gtl/doc
From: lucanus.j.simonson_at_[hidden]
Date: 2010-04-07 17:04:46


Author: ljsimons
Date: 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
New Revision: 61140
URL: http://svn.boost.org/trac/boost/changeset/61140

Log:
updating docs
Text files modified:
   sandbox/gtl/doc/gtl_connectivity_extraction.htm | 6
   sandbox/gtl/doc/gtl_connectivity_extraction_45.htm | 6
   sandbox/gtl/doc/gtl_connectivity_extraction_90.htm | 6
   sandbox/gtl/doc/gtl_coordinate_concept.htm | 15 +
   sandbox/gtl/doc/gtl_design_overview.htm | 9
   sandbox/gtl/doc/gtl_interval_concept.htm | 6
   sandbox/gtl/doc/gtl_isotropy.htm | 8
   sandbox/gtl/doc/gtl_point_3d_concept.htm | 6
   sandbox/gtl/doc/gtl_point_concept.htm | 6
   sandbox/gtl/doc/gtl_polygon_45_concept.htm | 32 ++--
   sandbox/gtl/doc/gtl_polygon_45_set_concept.htm | 188 ++++++++++++++++++++----------
   sandbox/gtl/doc/gtl_polygon_45_with_holes_concept.htm | 6
   sandbox/gtl/doc/gtl_polygon_90_concept.htm | 32 ++--
   sandbox/gtl/doc/gtl_polygon_90_set_concept.htm | 239 +++++++++++++++++++++++++++------------
   sandbox/gtl/doc/gtl_polygon_90_with_holes_concept.htm | 6
   sandbox/gtl/doc/gtl_polygon_concept.htm | 31 ++--
   sandbox/gtl/doc/gtl_polygon_set_concept.htm | 158 ++++++++++++++++++--------
   sandbox/gtl/doc/gtl_polygon_with_holes_concept.htm | 6
   sandbox/gtl/doc/gtl_property_merge.htm | 13 +-
   sandbox/gtl/doc/gtl_property_merge_45.htm | 12 +-
   sandbox/gtl/doc/gtl_property_merge_90.htm | 12 +-
   sandbox/gtl/doc/gtl_rectangle_concept.htm | 6
   sandbox/gtl/doc/index.htm | 49 +++++--
   23 files changed, 551 insertions(+), 307 deletions(-)

Modified: sandbox/gtl/doc/gtl_connectivity_extraction.htm
==============================================================================
--- sandbox/gtl/doc/gtl_connectivity_extraction.htm (original)
+++ sandbox/gtl/doc/gtl_connectivity_extraction.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_connectivity_extraction_45.htm
==============================================================================
--- sandbox/gtl/doc/gtl_connectivity_extraction_45.htm (original)
+++ sandbox/gtl/doc/gtl_connectivity_extraction_45.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_connectivity_extraction_90.htm
==============================================================================
--- sandbox/gtl/doc/gtl_connectivity_extraction_90.htm (original)
+++ sandbox/gtl/doc/gtl_connectivity_extraction_90.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_coordinate_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_coordinate_concept.htm (original)
+++ sandbox/gtl/doc/gtl_coordinate_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
                         <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -107,7 +107,14 @@
 coordinates.<p>
 Note: older versions of the stl define a fully generic distance(T, T) function
 for computing the difference between two iterators.&nbsp; We were forced to name
-our distance function euclidean_distance to avoid name collision.<tr>
+our distance function euclidean_distance to avoid name collision.<p>
+The
+<a href="http://www.mentor.com/products/esl/high_level_synthesis/ac_datatypes">
+Algorithmic C</a> ac_int&lt;128&gt; is an example of a user defined coordinate data
+type that satisfies the coordinate concept.&nbsp; In general a data type should
+define std::numeric_limits and be integer-like.&nbsp; Floating point coordinate
+types are not supported by all the algorithms and generally not suitable for use
+with the library at present.<tr>
 <td style="background-color: rgb(238, 238, 238);" nowrap="1" valign="top">
     &nbsp;</td>
 <td style="padding-left: 10px; padding-right: 10px; padding-bottom: 10px;" valign="top" width="100%">

Modified: sandbox/gtl/doc/gtl_design_overview.htm
==============================================================================
--- sandbox/gtl/doc/gtl_design_overview.htm (original)
+++ sandbox/gtl/doc/gtl_design_overview.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,8 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li>Polygon Library Design Overview</li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +44,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -105,8 +106,8 @@
 by the library to overload generic functions means no matching function is found
 by the compiler in cases where no overload is provided.</p>
 <p>
-<font face="Courier New">error: no matching function for call to 'gtl::assign(gtl::rectangle_data&lt;int&gt;&amp;,
-gtl::polygon_data&lt;int&gt;&amp;)'</font></p>
+<font face="Courier New">error: no matching function for call to 'assign(rectangle_data&lt;int&gt;&amp;,
+polygon_data&lt;int&gt;&amp;)'</font></p>
 <p>Associated with each concept is a traits struct that generally must be
 specialized for a given data type to provide the concept mapping between the
 interfaces of the data type and the expected behaviors of an object of that type

Modified: sandbox/gtl/doc/gtl_interval_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_interval_concept.htm (original)
+++ sandbox/gtl/doc/gtl_interval_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
                         <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_isotropy.htm
==============================================================================
--- sandbox/gtl/doc/gtl_isotropy.htm (original)
+++ sandbox/gtl/doc/gtl_isotropy.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
                         <li>Isotropy</li>
             <li>Coordinate Concept</li>
                         <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -76,7 +76,7 @@
 called isotropy.&nbsp; In such situations it is convenient to parameterize
 direction or orientation and write code that is invariant to the direction or
 orientation in which it is applied.&nbsp; To do this effectively we provide an
-internally consistent set of isotropic data types in GTL to represent program
+internally consistent set of isotropic data types to represent program
 data that describes orientations and directions.&nbsp; These data types are:</p>
     <ul>
         <li>direction_1d - has one of the following 2 states: LOW, HIGH </li>

Modified: sandbox/gtl/doc/gtl_point_3d_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_point_3d_concept.htm (original)
+++ sandbox/gtl/doc/gtl_point_3d_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_point_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_point_concept.htm (original)
+++ sandbox/gtl/doc/gtl_point_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_polygon_45_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_45_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_45_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -186,14 +186,14 @@
                 point, returns true
                 if the polygon contains the point.&nbsp; If the consider_touch
                 flag is true will return true if the point lies along the boundary of
- the polygon.</td>
+ the polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">// get the center coordinate<br>
                 template &lt;typename T, typename point_type&gt;<br>
                 void <b>center</b>(point_type&amp; p, const T&amp; polygon)</font></td>
                 <td>Sets object that models point to the center point of the bounding
- box of an object that models polygon_45.</td>
+ box of an object that models polygon_45.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
@@ -201,57 +201,59 @@
                 bool <b>extents</b>(rectangle_type&amp; bbox, const T&amp; polygon)</font></td>
                 <td>Sets object that models rectangle to the bounding box of an object
                 that models polygon_45 and returns true.&nbsp; Returns false and leaves
- bbox unchanged if polygon is empty.</td>
+ bbox unchanged if polygon is empty.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 area_type <b>area</b>(const T&amp; polygon)</font></td>
                 <td>Returns the area of an object
- that models polygon_45.</td>
+ that models polygon_45.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 direction_1d <b>winding</b>(const T&amp; polygon)</font></td>
                 <td>Returns the winding direction of an object
- that models polygon_45, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.</td>
+ that models polygon_45, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.&nbsp;
+ Complexity depends upon winding trait.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 coordinate_distance <b>perimeter</b>(const T&amp; polygon)</font></td>
                 <td>Returns the perimeter length of an object
- that models polygon_45.</td>
+ that models polygon_45.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
                 typename transform_type&gt;<br>
                 T&amp; <b>transform</b>(T&amp; polygon, const transform_type&amp;)</font></td>
                 <td>Applies transform() on the vertices of polygon and sets the polygon to that described by the result of
- transforming its vertices.</td>
+ transforming its vertices.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_up</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales up coordinate of an object that models
- polygon_45 by unsigned factor.</td>
+ polygon_45 by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_down</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales down coordinates of an object that models
- polygon_45 by unsigned factor.</td>
+ polygon_45 by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, scaling_type&gt;<br>
                 T&amp; <b>scale</b>(T&amp; rectangle, double scaling) </font></td>
                 <td>Scales coordinates of an object that models polygon_45 by floating
- point factor.</td>
+ point factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>move</b>(T&amp; polygon, orientation_2d,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coordinate_difference displacement)</font></td>
                 <td>Adds displacement value to coordinate indicated by orientation_2d of
- vertices of an object that models polygon_45 .</td>
+ vertices of an object that models polygon_45.&nbsp; Linear wrt.
+ vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename polygon_type, typename point_type&gt;<br>
@@ -259,7 +261,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 const point_type&amp; point)</font></td>
                 <td>Convolves coordinate values of point with vertices of an
- object that models polygon_45.</td>
+ object that models polygon_45.&nbsp; Linear wrt. vertices.</td>
         </tr>
         </table>
         <h1>Polygon 45 Data</h1>

Modified: sandbox/gtl/doc/gtl_polygon_45_set_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_45_set_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_45_set_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -114,91 +114,106 @@
                 <td>Boolean OR operation (polygon set union).&nbsp; Accepts two objects
                 that model polygon_45_set or one of its refinements.&nbsp; Returns an
                 operator template that performs the operation on demand when chained or
- or nested in a library function call such as assign().</td>
+ or nested in a library function call such as assign().&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_45_set_view <b>operator</b>+(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|.&nbsp; The plus sign is also used for OR
- operations in Boolean logic expressions.</td>
+ operations in Boolean logic expressions.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_45_set_view <b>operator</b>&amp;(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean AND operation (polygon set intersection).&nbsp; Accepts two
- objects that model polygon_45_set or one of its refinements.</td>
+ objects that model polygon_45_set or one of its refinements.&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_45_set_view <b>operator</b>*(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;.&nbsp; The multiplication symbol is also used for
- AND operations in Boolean logic expressions.</td>
+ AND operations in Boolean logic expressions.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_45_set_view <b>operator</b>^(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean XOR operation (polygon set disjoint-union).&nbsp; Accepts
- two objects that model polygon_45_set or one of its refinements.</td>
+ two objects that model polygon_45_set or one of its refinements.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_45_set_view <b>operator</b>-(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean SUBTRACT operation (polygon set difference).&nbsp; Accepts
- two objects that model polygon_45_set or one of its refinements.</td>
+ two objects that model polygon_45_set or one of its refinements.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>|=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>+=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator+, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>&amp;=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>*=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator*, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>^=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator^, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>-=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator-, but with self assignment, left operand must model
- polygon_45_set and not one of it's refinements.</td>
+ polygon_45_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1&gt;<br>
                 T1 <b>operator</b>+(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; O( n log n) runtime complexity and O(n) memory
+ wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -206,7 +221,8 @@
                 T1 <b>operator</b>-(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; O( n log n) runtime complexity and O(n) memory
+ wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -214,7 +230,8 @@
                 T1&amp; <b>operator</b>+=(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; O( n log n) runtime complexity and
+ O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -222,7 +239,8 @@
                 T1&amp; <b>operator</b>-=(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; O( n log n) runtime complexity and
+ O(n) memory wrt vertices + intersections.</td>
         </tr>
         </table>
 <h2>Functions</h2>
@@ -233,7 +251,8 @@
                 T1&amp; <b>assign</b>(T1&amp; lvalue, const T2&amp; rvalue)</font></td>
                 <td>Eliminates overlaps in geometry and copies from an object that
                 models polygon_45_set or any of its refinements into an object that
- models polygon_45_set</td>
+ models polygon_45_set.&nbsp; O( n log n) runtime complexity and O(n)
+ memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -242,7 +261,8 @@
                 <td>Returns true if an object that models polygon_45_set or one of its
                 refinements covers the exact same geometric regions as another object
                 that models polygon_45_set or one of its refinements.&nbsp; For example:
- two of polygon_45 objects.</td>
+ two of polygon_45 objects.&nbsp; O( n log n) runtime complexity and O(n)
+ memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -255,7 +275,8 @@
                 refinements into non overlapping trapezoids along a vertical slicing
                 orientation and appends them to the
                 output, which must have a value type that models polygon_45,
- polygon_45_with_holes, polygon or polygon_with_holes. </td>
+ polygon_45_with_holes, polygon or polygon_with_holes.&nbsp;&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -268,7 +289,8 @@
                 refinements into non overlapping trapezoids along a the specified slicing
                 orientation and appends them to the
                 output, which must have a value type that models polygon_45,
- polygon_45_with_holes, polygon or polygon_with_holes. </td>
+ polygon_45_with_holes, polygon or polygon_with_holes.&nbsp;&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -281,7 +303,8 @@
                 polygon_set_type&gt;<br>
                 bool <b>empty</b>(const polygon_set_type&amp; polygon_set)</font></td>
                 <td>Checks whether the object is empty of geometry.&nbsp; Polygons that
- are completely covered by holes will result in empty returning true.</td>
+ are completely covered by holes will result in empty returning true.&nbsp;&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -292,13 +315,15 @@
                 <td>Computes bounding box of an object that models polygon_45_set and
                 stores it in an object that models rectangle.&nbsp; If the polygon set
                 is empty returns false.&nbsp; If there are holes outside of shells they
- do not contribute to the extents of the polygon set.</td>
+ do not contribute to the extents of the polygon set.&nbsp;&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 area_type <b>area</b>(const T&amp; polygon_set)</font></td>
                 <td>Computes the area covered by geometry in an object that models
- polygon_45_set</td>
+ polygon_45_set.&nbsp;&nbsp; O( n log n) runtime complexity and O(n)
+ memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -306,32 +331,38 @@
                 T1&amp; <b>interact</b>(T1&amp; a, const T2&amp; b)</font></td>
                 <td>Given an object that models polygon_45_set and an object that models
                 polygon_45_set or one of its refinements, modifies a to retain only
- regions that overlap or touch regions in b.</td>
+ regions that overlap or touch regions in b.&nbsp;&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices plus intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>self_intersect</b>(T&amp; polygon_set)</font></td>
                 <td>Given an object that models polygon_45_set that has self overlapping
- regions, modifies the argument to contain only the regions of overlap.</td>
+ regions, modifies the argument to contain only the regions of overlap.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>self_xor</b>(T&amp; polygon_set)</font></td>
                 <td>Given an object that models polygon_45_set that has self overlapping
                 regions, modifies the argument to contain only the regions that do not
- overlap.</td>
+ overlap.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>bloat</b>(T&amp; polygon_set, unsigned_area_type bloating)</font></td>
                 <td>Same as getting all the polygons, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>shrink</b>(T&amp; polygon_set, unsigned_area_type shrinking)</font></td>
                 <td>Same as getting all the polygons, shrinking them and overwriting
- the polygon set with the resulting regions.</td>
+ the polygon set with the resulting regions.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -343,39 +374,46 @@
                 negative.&nbsp; RoundingOption is an enum that controls snapping of
                 non-integer results of resizing 45 degree edges.&nbsp; CornerOption is
                 an enum that controls how corner filling is performed.&nbsp;
- polygon_45_set_data.hpp defines these enums.</td>
+ polygon_45_set_data.hpp defines these enums.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>grow_and</b>(T&amp; polygon_set, unsigned_area_type bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_up</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
- <td>Scales geometry up by unsigned factor..</td>
+ <td>Scales geometry up by unsigned factor.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_down</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
                 <td>Scales geometry down by unsigned factor.&nbsp; Snaps 45 degree edges
                 back to 45 degrees after division truncation leads to small changes in
- angle.</td>
+ angle.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename scaling_type&gt;<br>
 T&amp; <b>scale</b>(polygon_set_type&amp; polygon_set, double scaling)</font></td>
                 <td>Scales geometry by multiplying by floating point factor.&nbsp;&nbsp;
                 Snaps 45 degree edges back to 45 degrees after truncation of fractional
- results of multiply leads to small changes in angle.</td>
+ results of multiply leads to small changes in angle.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename transformation_type&gt;<br>
 T&amp; <b>transform</b>(T&amp; polygon_set,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const
 transformation_type&amp; transformation)</font></td>
- <td>Applies transformation.transform() on all vertices.</td>
+ <td>Applies transformation.transform() on all vertices.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -388,7 +426,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type max_height)</font></td>
                 <td>Retains only regions that satisfy the min/max criteria in the
                 argument list.&nbsp; Note: useful for visualization to cull too small
- polygons.</td>
+ polygons.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices.</td>
         </tr>
         </table>
         <h1>Polygon 45 Set Data Object</h1>
@@ -460,14 +499,15 @@
 template &lt;typename iT&gt;<br>
 void <b>insert</b>(iT input_begin, iT input_end, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool is_hole = false)</font></td>
                 <td>Insert objects of an iterator range.&nbsp; If is_hole is true
- inserts subtractive regions.</td>
+ inserts subtractive regions.&nbsp; Linear wrt the number of vertices
+ added.</td>
         </tr>
         <tr>
                 <td width="586">
 <font face="Courier New">
 void <b>insert</b>(const polygon_45_set_data&amp; polygon_set, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool is_hole
 = false)</font></td>
- <td>Insert a polygon set.</td>
+ <td>Insert a polygon set.&nbsp; Linear wrt the number of vertices added.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -476,7 +516,8 @@
 void <b>insert</b>(const geometry_type&amp; geometry_object, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool is_hole
 = false)</font></td>
                 <td>Insert a geometry object, if is_hole is true then the inserted
- region is subtractive rather than additive.</td>
+ region is subtractive rather than additive.&nbsp; Linear wrt the number
+ of vertices added.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -486,9 +527,10 @@
                 and eliminate overlaps.&nbsp; Converts polygon set geometry to objects
                 of that type and appends them to the container.&nbsp; Polygons will be
                 output with counterclockwise winding, hole polygons will be output with
- clockwise winding.&nbsp; The last vertex of an output polygon is the
+ clockwise winding.&nbsp; The last vertex of an output polygon is not the
                 duplicate of the first, and the number of points is equal to the number
- of edges plus 1.</td>
+ of edges.&nbsp; O(n log n) runtime and O(n) memory wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -497,7 +539,8 @@
                 <td>Expects a standard container of polygon objects.&nbsp; Will scan and
                 eliminate overlaps.&nbsp; Converts polygon set geometry to polygons and
                 appends them to the container.&nbsp; Polygons will have holes fractured
- out to the outer boundary along the positive y direction.</td>
+ out to the outer boundary along the positive y direction.&nbsp; O(n log
+ n) runtime and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -505,7 +548,8 @@
 void <b>get_polygons_with_holes</b>(output_container&amp; o) const</font></td>
                 <td>Expects a standard container of polygon with holes objects.&nbsp; Will scan and
                 eliminate overlaps.&nbsp; Converts polygon set geometry to polygons and
- appends them to the container.</td>
+ appends them to the container.&nbsp; O(n log n) runtime and O(n) memory
+ wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -513,7 +557,8 @@
 void <b>get_trapezoids</b>(output_container&amp; output) const</font></td>
                 <td>Expects a standard container of polygon objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to trapezoids
- vertically and appends them to the container.</td>
+ vertically and appends them to the container.&nbsp; O(n log n) runtime
+ and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -524,7 +569,8 @@
                 </td>
                 <td>Expects a standard container of polygon objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to trapezoids
- along the given orientation and appends them to the container.</td>
+ along the given orientation and appends them to the container.&nbsp; O(n
+ log n) runtime and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -533,7 +579,9 @@
                 <td>Once scanned the data representation of geometry within a polygon
                 set is in a mathematically canonical form.&nbsp; Comparison between two
                 sets is therefore a linear time operation once they are in the scanned
- state. Will scan and eliminate overlaps in both polygon sets.&nbsp; </td>
+ state. Will scan and eliminate overlaps in both polygon sets.&nbsp; O(n
+ log n) runtime and O(n) memory wrt. vertices + intersections the first
+ time and linear runtime and constant memory subsequently.&nbsp; </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -551,17 +599,22 @@
                 </td>
                 <td>Check whether the polygon set contains no geometry.&nbsp; Will scan
                 and eliminate overlaps because subtractive regions might make the
- polygon set empty.</td>
+ polygon set empty.&nbsp; O(n log n) runtime and O(n) memory wrt.
+ vertices + intersections the first time and linear runtime and constant
+ memory subsequently.&nbsp; </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">bool <b>is_manhattan</b>()
                 const</font></td>
                 <td>Returns in constant time the information about whether the geometry
- contains only Manhattan (axis-parallel rectilinear) edges.</td>
+ contains only Manhattan (axis-parallel rectilinear) edges.&nbsp;
+ Constant time.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">void <b>clean</b>() const</font></td>
- <td>Scan and eliminate overlaps.</td>
+ <td>Scan and eliminate overlaps.&nbsp; O(n log n) runtime and O(n)
+ memory wrt. vertices + intersections the first time and linear runtime
+ and constant memory subsequently.&nbsp; </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -577,7 +630,9 @@
 bool <b>extents</b>(rectangle_type&amp; extents_rectangle) const</font></td>
                 <td>Given an object that models rectangle, scans and eliminates overlaps
                 in the polygon set because subtractive regions may alter its extents
- then computes the bounding box and assigns it to extents_rectangle.</td>
+ then computes the bounding box and assigns it to extents_rectangle.&nbsp;
+ O(n log n) runtime and O(n) memory wrt. vertices the first time and
+ linear runtime and constant memory subsequently.&nbsp; </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -589,7 +644,8 @@
                 negative.&nbsp; RoundingOption is an enum that controls snapping of
                 non-integer results of resizing 45 degree edges.&nbsp; CornerOption is
                 an enum that controls how corner filling is performed.&nbsp;
- polygon_45_set_data.hpp defines these enums.</td>
+ polygon_45_set_data.hpp defines these enums.&nbsp; O(n log n) runtime
+ and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -597,54 +653,60 @@
 polygon_45_set_data&amp; <br><b>transform</b>(const transformation_type&amp; transformation) </font>
                 </td>
                 <td>Applies transformation.transform() on vertices stored within the
- polygon set.</td>
+ polygon set.&nbsp; O(n log n) runtime and O(n) memory wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 polygon_45_set_data&amp; <b>scale_up</b>(unsigned_area_type factor)</font></td>
- <td>Scales vertices stored within the polygon set up by factor.</td>
+ <td>Scales vertices stored within the polygon set up by factor.&nbsp;
+ Linear wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586">
 <font face="Courier New">polygon_45_set_data&amp; <b>scale_down</b>(unsigned_area_type
 factor)</font>&nbsp;</td>
- <td>Scales vertices stored within the polygon set down by factor.</td>
+ <td>Scales vertices stored within the polygon set down by factor.&nbsp;
+ Linear wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_45_set_data&amp; <b>scale</b>(double factor) </font></td>
                 <td>Scales vertices stored within the polygon set by floating point
- factor.</td>
+ factor.&nbsp; Linear wrt vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_45_set_data&amp; <b>self_xor</b>()</font></td>
- <td>Retain only non-overlapping regions of geometry within polygon set.</td>
+ <td>Retain only non-overlapping regions of geometry within polygon set.&nbsp;
+ O(n log n) runtime and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_45_set_data&amp; <b>self_intersect</b>()</font></td>
- <td>Retain only overlapping regions of geometry within a polygon set.</td>
+ <td>Retain only overlapping regions of geometry within a polygon set.&nbsp;
+ O(n log n) runtime and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">bool <b>has_error_data</b>()
                 const </font></td>
                 <td>Returns true if non-integer intersections resulted in small
- artifacts in the output of a boolean.</td>
+ artifacts in the output of a boolean.&nbsp; Constant time.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">std::size_t <b>error_count</b>()
                 const</font></td>
                 <td>Returns the number of artifacts that may potentially be present in
- the output due to non-integer intersections.</td>
+ the output due to non-integer intersections.&nbsp; Constant time.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">void <b>get_error_data</b>(polygon_45_set_data&amp;
                 p) const</font></td>
                 <td>Populates the input polygon set with 1x1 unit squares that bound the
                 error that may be present in the output due to non-integer
- intersections.</td>
+ intersections.&nbsp; Linear wrt. vertices of error data.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_45_set_data&amp; <b>self_intersect</b>()</font></td>
- <td>Retain only overlapping regions of geometry within a polygon set.</td>
+ <td>Retain only overlapping regions of geometry within a polygon set.&nbsp;
+ O(n log n) runtime and O(n) memory wrt. vertices + intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_polygon_45_with_holes_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_45_with_holes_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_45_with_holes_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_polygon_90_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_90_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_90_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -194,14 +194,14 @@
                 point, returns true
                 if the polygon contains the point.&nbsp; If the consider_touch
                 flag is true will return true if the point lies along the boundary of
- the polygon.</td>
+ the polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">// get the center coordinate<br>
                 template &lt;typename T, typename point_type&gt;<br>
                 void <b>center</b>(point_type&amp; p, const T&amp; polygon)</font></td>
                 <td>Sets object that models point to the center point of the bounding
- box of an object that models polygon_90.</td>
+ box of an object that models polygon_90.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
@@ -209,57 +209,59 @@
                 bool <b>extents</b>(rectangle_type&amp; bbox, const T&amp; polygon)</font></td>
                 <td>Sets object that models rectangle to the bounding box of an object
                 that models polygon_90 and returns true.&nbsp; Returns false and leaves
- bbox unchanged if polygon is empty.</td>
+ bbox unchanged if polygon is empty.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 manhattan_area_type <b>area</b>(const T&amp; polygon)</font></td>
                 <td>Returns the area of an object
- that models polygon_90.</td>
+ that models polygon_90.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 direction_1d <b>winding</b>(const T&amp; polygon)</font></td>
                 <td>Returns the winding direction of an object
- that models polygon_90, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.</td>
+ that models polygon_90, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.&nbsp;
+ Complexity depends upon winding trait.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 coordinate_difference <b>perimeter</b>(const T&amp; polygon)</font></td>
                 <td>Returns the perimeter length of an object
- that models polygon_90.</td>
+ that models polygon_90.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
                 typename transform_type&gt;<br>
                 T&amp; <b>transform</b>(T&amp; polygon, const transform_type&amp;)</font></td>
                 <td>Applies transform() on the vertices of polygon and sets the polygon to that described by the result of
- transforming its vertices.</td>
+ transforming its vertices.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_up</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales up coordinate of an object that models
- polygon_90 by unsigned factor.</td>
+ polygon_90 by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_down</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales down coordinates of an object that models
- polygon_90 by unsigned factor.</td>
+ polygon_90 by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, scaling_type&gt;<br>
                 T&amp; <b>scale</b>(T&amp; rectangle, double scaling) </font></td>
                 <td>Scales coordinates of an object that models polygon_90 by floating
- point factor.</td>
+ point factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>move</b>(T&amp; polygon, orientation_2d,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coordinate_difference displacement)</font></td>
                 <td>Adds displacement value to coordinate indicated by orientation_2d of
- vertices of an object that models polygon_90 .</td>
+ vertices of an object that models polygon_90 .&nbsp; Linear wrt.
+ vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename polygon_type, typename point_type&gt;<br>
@@ -267,7 +269,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 const point_type&amp; point)</font></td>
                 <td>Convolves coordinate values of point with vertices of an
- object that models polygon_90.</td>
+ object that models polygon_90.&nbsp; Linear wrt. vertices.</td>
         </tr>
         </table>
         <h1>Polygon 90 Data</h1>

Modified: sandbox/gtl/doc/gtl_polygon_90_set_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_90_set_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_90_set_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -93,91 +93,107 @@
                 <td>Boolean OR operation (polygon set union).&nbsp; Accepts two objects
                 that model polygon_90_set or one of its refinements.&nbsp; Returns an
                 operator template that performs the operation on demand when chained or
- or nested in a library function call such as assign().</td>
+ or nested in a library function call such as assign().&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_90_set_view <b>operator</b>+(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|.&nbsp; The plus sign is also used for OR
- operations in Boolean logic expressions.</td>
+ operations in Boolean logic expressions.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_90_set_view <b>operator</b>&amp;(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean AND operation (polygon set intersection).&nbsp; Accepts two
- objects that model polygon_90_set or one of its refinements.</td>
+ objects that model polygon_90_set or one of its refinements.&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_90_set_view <b>operator</b>*(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;.&nbsp; The multiplication symbol is also used for
- AND operations in Boolean logic expressions.</td>
+ AND operations in Boolean logic expressions.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_90_set_view <b>operator</b>^(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean XOR operation (polygon set disjoint-union).&nbsp; Accepts
- two objects that model polygon_90_set or one of its refinements.</td>
+ two objects that model polygon_90_set or one of its refinements.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_90_set_view <b>operator</b>-(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean SUBTRACT operation (polygon set difference).&nbsp; Accepts
- two objects that model polygon_90_set or one of its refinements.</td>
+ two objects that model polygon_90_set or one of its refinements.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>|=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>+=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator+, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>&amp;=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>*=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator*, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>^=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator^, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>-=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator-, but with self assignment, left operand must model
- polygon_90_set and not one of it's refinements.</td>
+ polygon_90_set and not one of it's refinements.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1&gt;<br>
                 T1 <b>operator</b>+(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; O( n log n) runtime complexity and O(n) memory
+ wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -185,7 +201,8 @@
                 T1 <b>operator</b>-(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; O( n log n) runtime complexity and O(n) memory
+ wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -193,7 +210,8 @@
                 T1&amp; <b>operator</b>+=(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; O( n log n) runtime complexity and
+ O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -201,7 +219,8 @@
                 T1&amp; <b>operator</b>-=(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; O( n log n) runtime complexity and
+ O(n) memory wrt vertices + intersections.</td>
         </tr>
         </table>
 <h2>Functions</h2>
@@ -212,7 +231,8 @@
                 T1&amp; <b>assign</b>(T1&amp; lvalue, const T2&amp; rvalue)</font></td>
                 <td>Eliminates overlaps in geometry and copies from an object that
                 models polygon_90_set or any of its refinements into an object that
- models polygon_90_set</td>
+ models polygon_90_set.&nbsp; O( n log n) runtime complexity and O(n)
+ memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -221,7 +241,8 @@
                 <td>Returns true if an object that models polygon_90_set or one of its
                 refinements covers the exact same geometric regions as another object
                 that models polygon_90_set or one of its refinements.&nbsp; For example:
- two of polygon_90 objects.</td>
+ two of polygon_90 objects.&nbsp; O( n log n) runtime complexity and O(n)
+ memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -232,7 +253,8 @@
                 <td>Output container is expected to be a standard container.&nbsp;
                 Slices geometry of an object that models polygon_90_set or one of its
                 refinements into non overlapping rectangles and appends them to the
- output. </td>
+ output.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -243,7 +265,7 @@
                 <td>Output container is expected to be a standard container.&nbsp; Given
                 an object that models polygon_90_set or one of its refinements finds all
                 overlapping rectangles that are maximal in area and appends them to the
- output. </td>
+ output.&nbsp; Expected n log n runtime, worst case quadratic rutnime.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -256,7 +278,9 @@
                 polygon_set_type&gt;<br>
                 bool <b>empty</b>(const polygon_set_type&amp; polygon_set)</font></td>
                 <td>Checks whether the object is empty of geometry.&nbsp; Polygons that
- are completely covered by holes will result in empty returning true.</td>
+ are completely covered by holes will result in empty returning true.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -267,13 +291,15 @@
                 <td>Computes bounding box of an object that models polygon_90_set and
                 stores it in an object that models rectangle.&nbsp; If the polygon set
                 is empty returns false.&nbsp; If there are holes outside of shells they
- do not contribute to the extents of the polygon set.</td>
+ do not contribute to the extents of the polygon set.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 manhattan_area_type <b>area</b>(const T&amp; polygon_set)</font></td>
                 <td>Computes the area covered by geometry in an object that models
- polygon_90_set</td>
+ polygon_90_set.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -281,33 +307,39 @@
                 T1&amp; <b>interact</b>(T1&amp; a, const T2&amp; b)</font></td>
                 <td>Given an object that models polygon_90_set and an object that models
                 polygon_90_set or one of its refinements, modifies a to retain only
- regions that overlap or touch regions in b.</td>
+ regions that overlap or touch regions in b.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>self_intersect</b>(T&amp; polygon_set)</font></td>
                 <td>Given an object that models polygon_90_set that has self overlapping
- regions, modifies the argument to contain only the regions of overlap.</td>
+ regions, modifies the argument to contain only the regions of overlap.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>self_xor</b>(T&amp; polygon_set)</font></td>
                 <td>Given an object that models polygon_90_set that has self overlapping
                 regions, modifies the argument to contain only the regions that do not
- overlap.</td>
+ overlap.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>bloat</b>(T&amp; polygon_set, unsigned_area_type bloating)</font></td>
                 <td>Same as getting all the rectangles, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>bloat</b>(T&amp; polygon_set, orientation_2d orient,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type bloating)</font></td>
                 <td>Same as getting all the rectangles, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -316,14 +348,16 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 high_bloating)</font></td>
                 <td>Same as getting all the rectangles, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>bloat</b>(T&amp; polygon_set, direction_2d dir,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type bloating)</font></td>
                 <td>Same as getting all the rectangles, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -337,13 +371,15 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 north_bloating)</font></td>
                 <td>Same as getting all the rectangles, bloating them and putting them
- back.</td>
+ back.&nbsp; O( n log n) runtime complexity and O(n) memory wrt vertices
+ + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>shrink</b>(T&amp; polygon_set, unsigned_area_type shrinking)</font></td>
                 <td>Same as getting all the rectangles of the inverse, bloating them and overwriting
- the polygon set with the resulting regions then negating.</td>
+ the polygon set with the resulting regions then negating.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -351,7 +387,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 shrinking)</font></td>
                 <td>Same as getting all the rectangles of the inverse, bloating them and overwriting
- the polygon set with the resulting regions then negating.</td>
+ the polygon set with the resulting regions then negating.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -361,7 +398,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 high_shrinking)</font></td>
                 <td>Same as getting all the rectangles of the inverse, bloating them and overwriting
- the polygon set with the resulting regions then negating.</td>
+ the polygon set with the resulting regions then negating.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -369,7 +407,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 shrinking)</font></td>
                 <td>Same as getting all the rectangles of the inverse, bloating them and overwriting
- the polygon set with the resulting regions then negating.</td>
+ the polygon set with the resulting regions then negating.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -383,7 +422,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type
                 north_shrinking)</font></td>
                 <td>Same as getting all the rectangles of the inverse, bloating them and overwriting
- the polygon set with the resulting regions then negating.</td>
+ the polygon set with the resulting regions then negating.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -399,13 +439,16 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coord_type west, coord_type east,
                 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coord_type south, coord_type north)</font></td>
                 <td>Same as bloat if resizing is positive, same as shrink if resizing is
- negative.</td>
+ negative.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>grow_and</b>(T&amp; polygon_set, unsigned_area_type bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -413,7 +456,9 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 unsigned_area_type bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -423,7 +468,9 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 unsigned_area_type high_bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -431,7 +478,9 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 unsigned_area_type bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -445,44 +494,54 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 unsigned_area_type north_bloating)</font></td>
                 <td>Same as bloating non-overlapping regions and then applying self
- intersect to retain only the overlaps introduced by the bloat.</td>
+ intersect to retain only the overlaps introduced by the bloat.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_up</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
- <td>Scales geometry up by unsigned factor..</td>
+ <td>Scales geometry up by unsigned factor.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_down</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
- <td>Scales geometry down by unsigned factor.</td>
+ <td>Scales geometry down by unsigned factor.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename scaling_type&gt;<br>
 T&amp; <b>scale</b>(polygon_set_type&amp; polygon_set, <br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const scaling_type&amp; scaling)</font></td>
- <td>Scales geometry by applying scaling.scale() on all vertices.</td>
+ <td>Scales geometry by applying scaling.scale() on all vertices.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename coord_type&gt;<br>
 T&amp; <b>move</b>(T&amp; polygon_set,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; orientation_2d orient, coord_type
 displacement)</font></td>
- <td>Moves geometry by displacement amount in the orientation</td>
+ <td>Moves geometry by displacement amount in the orientation.&nbsp;&nbsp;&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename coord_type&gt;<br>
 T&amp; <b>move</b>(T&amp; polygon_set, coord_type x_displacement, <br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coord_type y_displacement)</font></td>
                 <td>Moves the geometry by x_dispacement in x and y_displacement in y.&nbsp;
- Note: for consistency should be convolve(polygon_set, point)</td>
+ Note: for consistency should be convolve(polygon_set, point).&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename transformation_type&gt;<br>
 T&amp; <b>transform</b>(T&amp; polygon_set,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const
 transformation_type&amp; transformation)</font></td>
- <td>Applies transformation.transform() on all vertices.</td>
+ <td>Applies transformation.transform() on all vertices.&nbsp; O( n log
+ n) runtime complexity and O(n) memory wrt vertices + intersections. </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -495,7 +554,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type max_height)</font></td>
                 <td>Retains only regions that satisfy the min/max criteria in the
                 argument list.&nbsp; Note: useful for visualization to cull too small
- polygons.</td>
+ polygons.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections. </td>
         </tr>
         </table>
         <h1>Polygon 90 Set Data Object</h1>
@@ -580,13 +640,14 @@
 <font face="Courier New">
 template &lt;typename iT&gt;<br>
 void <b>insert</b>(iT input_begin, iT input_end)</font></td>
- <td>Insert objects of an iterator range.</td>
+ <td>Insert objects of an iterator range.&nbsp; Linear wrt. inserted
+ vertices.</td>
         </tr>
         <tr>
                 <td width="586">
 <font face="Courier New">
 void <b>insert</b>(const polygon_90_set_data&amp; polygon_set)</font></td>
- <td>Insert a polygon set.</td>
+ <td>Insert a polygon set.&nbsp; Linear wrt. inserted vertices.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -595,7 +656,8 @@
 void <b>insert</b>(const geometry_type&amp; geometry_object, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool is_hole
 = false)</font></td>
                 <td>Insert a geometry object, if is_hole is true then the inserted
- region is subtractive rather than additive.</td>
+ region is subtractive rather than additive.&nbsp; Linear wrt. inserted
+ vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -607,7 +669,8 @@
                 output with counterclockwise winding, hole polygons will be output with
                 clockwise winding.&nbsp; The last vertex of an output polygon is not the
                 duplicate of the first, and the number of points is equal to the number
- of edges.</td>
+ of edges.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -617,7 +680,8 @@
                 eliminate overlaps.&nbsp; Converts polygon set geometry to polygons and
                 appends them to the container.&nbsp; Polygons will have holes fractured
                 out to the outer boundary along the positive direction of the scanline
- orientation of the polygon set.</td>
+ orientation of the polygon set.&nbsp; O( n log n) runtime complexity and
+ O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -625,7 +689,9 @@
 void <b>get_rectangles</b>(output_container&amp; output) const</font></td>
                 <td>Expects a standard container of rectangle objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to rectangles
- along the scanning orientation and appends them to the container.</td>
+ along the scanning orientation and appends them to the container.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -636,7 +702,9 @@
                 </td>
                 <td>Expects a standard container of rectangle objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to rectangles
- along the given orientation and appends them to the container.</td>
+ along the given orientation and appends them to the container.&nbsp; O(
+ n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -645,7 +713,9 @@
                 <td>Once scanned the data representation of geometry within a polygon
                 set is in a mathematically canonical form.&nbsp; Comparison between two
                 sets is therefore a linear time operation once they are in the scanned
- state. Will scan and eliminate overlaps in both polygon sets.&nbsp; </td>
+ state. Will scan and eliminate overlaps in both polygon sets.&nbsp; O( n
+ log n) runtime complexity and O(n) memory wrt vertices + intersections
+ the first time, linear subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -663,17 +733,20 @@
                 </td>
                 <td>Check whether the polygon set contains no geometry.&nbsp; Will scan
                 and eliminate overlaps because subtractive regions might make the
- polygon set empty.</td>
+ polygon set empty.&nbsp; O( n log n) runtime complexity and O(n) memory
+ wrt vertices + intersections the first time, linear subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">orientation_2d <b>orient</b>() const</font></td>
                 <td>Get the scanning orientation.&nbsp; Depending on the data it is
                 sometimes more efficient to scan in a specific orientation.&nbsp; This
- is particularly true of Manhattan geometry data.</td>
+ is particularly true of Manhattan geometry data.&nbsp; Constant time.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">void <b>clean</b>() const</font></td>
- <td>Scan and eliminate overlaps.</td>
+ <td>Scan and eliminate overlaps.&nbsp; O( n log n) runtime complexity
+ and O(n) memory wrt vertices + intersections the first time, constant
+ time subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -691,7 +764,9 @@
 bool <b>extents</b>(rectangle_type&amp; extents_rectangle) const</font></td>
                 <td>Given an object that models rectangle, scans and eliminates overlaps
                 in the polygon set because subtractive regions may alter its extents
- then computes the bounding box and assigns it to extents_rectangle.</td>
+ then computes the bounding box and assigns it to extents_rectangle.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections the first time, linear subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -706,7 +781,8 @@
                 <td>Scans to eliminate overlaps and subtractive regions.&nbsp; Inserts
                 rectangles of width specified by bloating values to the indicated side
                 of geometry within the polygon set and fills corners with rectangles of
- the length and width specified for the adjacent sides.</td>
+ the length and width specified for the adjacent sides.&nbsp; O( n log n)
+ runtime complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -723,14 +799,16 @@
                 indicated side of geometry within the polygon set and subtractive
                 rectangle at convex corners of the length and width specified for the
                 adjacent sides.&nbsp; Scans to eliminate overlapping subtractive
- regions.</td>
+ regions.&nbsp; O( n log n) runtime complexity and O(n) memory wrt
+ vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 polygon_90_set_data&amp;<br>
 <b>resize</b>(coordinate_type west, coordinate_type east, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coordinate_type south, coordinate_type north)</font></td>
                 <td>Call bloat or shrink or shrink then bloat depending on whether the
- resizing values are positive or negative.</td>
+ resizing values are positive or negative.&nbsp; O( n log n) runtime
+ complexity and O(n) memory wrt vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -738,7 +816,7 @@
 y_delta) </font>
                 </td>
                 <td>Add x_delta to x values and y_delta to y values of vertices stored
- within the polygon set.</td>
+ within the polygon set.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -746,42 +824,51 @@
 polygon_90_set_data&amp; <br><b>transform</b>(const transformation_type&amp; transformation) </font>
                 </td>
                 <td>Applies transformation.transform() on vertices stored within the
- polygon set.</td>
+ polygon set.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 polygon_90_set_data&amp; <b>scale_up</b>(unsigned_area_type factor)</font></td>
- <td>Scales vertices stored within the polygon set up by factor.</td>
+ <td>Scales vertices stored within the polygon set up by factor.&nbsp;
+ Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586">
 <p><font face="Courier New">polygon_90_set_data&amp; <b>scale_down</b>(unsigned_area_type
 factor)</font>&nbsp;</td>
- <td>Scales vertices stored within the polygon set down by factor.</td>
+ <td>Scales vertices stored within the polygon set down by factor.&nbsp;
+ Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 template &lt;typename scaling_type&gt;<br>
 polygon_90_set_data&amp;<br> <b>scale</b>(const anisotropic_scale_factor&lt;scaling_type&gt;&amp;
                 f)</font></td>
- <td>Scales vertices stored within the polygon set by applying f.scale().</td>
+ <td>Scales vertices stored within the polygon set by applying f.scale().&nbsp;
+ Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_90_set_data&amp; <b>scale</b>(double factor) </font></td>
                 <td>Scales vertices stored within the polygon set by floating point
- factor.</td>
+ factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_90_set_data&amp; <b>self_xor</b>()</font></td>
- <td>Retain only non-overlapping regions of geometry within polygon set.</td>
+ <td>Retain only non-overlapping regions of geometry within polygon set.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_90_set_data&amp; <b>self_intersect</b>()</font></td>
- <td>Retain only overlapping regions of geometry within a polygon set.</td>
+ <td>Retain only overlapping regions of geometry within a polygon set.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">polygon_90_set_data&amp;<br> <b>interact</b>(const polygon_90_set_data&amp; that)</font></td>
- <td>Retain only regions that touch or overlap regions in argument.</td>
+ <td>Retain only regions that touch or overlap regions in argument.&nbsp;
+ O( n log n) runtime complexity and O(n) memory wrt vertices +
+ intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_polygon_90_with_holes_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_90_with_holes_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_90_with_holes_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_polygon_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -188,14 +188,14 @@
                 point, returns true
                 if the polygon contains the point.&nbsp; If the consider_touch
                 flag is true will return true if the point lies along the boundary of
- the polygon.</td>
+ the polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">// get the center coordinate<br>
                 template &lt;typename T, typename point_type&gt;<br>
                 void <b>center</b>(point_type&amp; p, const T&amp; polygon)</font></td>
                 <td>Sets object that models point to the center point of the bounding
- box of an object that models polygon.</td>
+ box of an object that models polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
@@ -203,57 +203,58 @@
                 bool <b>extents</b>(rectangle_type&amp; bbox, const T&amp; polygon)</font></td>
                 <td>Sets object that models rectangle to the bounding box of an object
                 that models polygon and returns true.&nbsp; Returns false and leaves
- bbox unchanged if polygon is empty.</td>
+ bbox unchanged if polygon is empty.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 area_type <b>area</b>(const T&amp; polygon)</font></td>
                 <td>Returns the area of an object
- that models polygon.</td>
+ that models polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 direction_1d <b>winding</b>(const T&amp; polygon)</font></td>
                 <td>Returns the winding direction of an object
- that models polygon, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.</td>
+ that models polygon, LOW == CLOCKWISE, HIGH = COUNTERCLOCKWISE.&nbsp;
+ Complexity depends upon winding trait.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 coordinate_distance <b>perimeter</b>(const T&amp; polygon)</font></td>
                 <td>Returns the perimeter length of an object
- that models polygon.</td>
+ that models polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T,
                 typename transform_type&gt;<br>
                 T&amp; <b>transform</b>(T&amp; polygon, const transform_type&amp;)</font></td>
                 <td>Applies transform() on the vertices of polygon and sets the polygon to that described by the result of
- transforming its vertices.</td>
+ transforming its vertices.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_up</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales up coordinate of an object that models
- polygon by unsigned factor.</td>
+ polygon by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>scale_down</b>(T&amp; polygon, unsigned_area_type factor)</font></td>
                 <td>Scales down coordinates of an object that models
- polygon by unsigned factor.</td>
+ polygon by unsigned factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, scaling_type&gt;<br>
                 T&amp; <b>scale</b>(T&amp; rectangle, double scaling) </font></td>
                 <td>Scales coordinates of an object that models polygon by floating
- point factor.</td>
+ point factor.&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>move</b>(T&amp; polygon, orientation_2d,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; coordinate_difference displacement)</font></td>
                 <td>Adds displacement value to coordinate indicated by orientation_2d of
- vertices of an object that models polygon .</td>
+ vertices of an object that models polygon .&nbsp; Linear wrt. vertices.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename polygon_type, typename point_type&gt;<br>
@@ -261,7 +262,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 const point_type&amp; point)</font></td>
                 <td>Convolves coordinate values of point with vertices of an
- object that models polygon.</td>
+ object that models polygon.&nbsp; Linear wrt. vertices.</td>
         </tr>
         </table>
         <h1>Polygon Data</h1>

Modified: sandbox/gtl/doc/gtl_polygon_set_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_set_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_set_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -110,91 +110,108 @@
                 <td>Boolean OR operation (polygon set union).&nbsp; Accepts two objects
                 that model polygon_set or one of its refinements.&nbsp; Returns an
                 operator template that performs the operation on demand when chained or
- or nested in a library function call such as assign().</td>
+ or nested in a library function call such as assign().&nbsp; Expected n
+ log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_set_view <b>operator</b>+(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|.&nbsp; The plus sign is also used for OR
- operations in Boolean logic expressions.</td>
+ operations in Boolean logic expressions.&nbsp; Expected n log n runtime,
+ worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_set_view <b>operator</b>&amp;(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean AND operation (polygon set intersection).&nbsp; Accepts two
- objects that model polygon_set or one of its refinements.</td>
+ objects that model polygon_set or one of its refinements.&nbsp; Expected
+ n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_set_view <b>operator</b>*(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;.&nbsp; The multiplication symbol is also used for
- AND operations in Boolean logic expressions.</td>
+ AND operations in Boolean logic expressions.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_set_view <b>operator</b>^(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean XOR operation (polygon set disjoint-union).&nbsp; Accepts
- two objects that model polygon_set or one of its refinements.</td>
+ two objects that model polygon_set or one of its refinements.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 polygon_set_view <b>operator</b>-(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Boolean SUBTRACT operation (polygon set difference).&nbsp; Accepts
- two objects that model polygon_set or one of its refinements.</td>
+ two objects that model polygon_set or one of its refinements.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>|=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator|, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>+=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator+, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>&amp;=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator&amp;, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>*=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator*, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>^=(const T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator^, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
                 T2&gt;<br>
                 T1&amp; <b>operator</b>-=(T1&amp; l, const T2&amp; r)</font></td>
                 <td>Same as operator-, but with self assignment, left operand must model
- polygon_set and not one of it's refinements.</td>
+ polygon_set and not one of it's refinements.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1&gt;<br>
                 T1 <b>operator</b>+(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -202,7 +219,8 @@
                 T1 <b>operator</b>-(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Note: returns
- result by value.</td>
+ result by value.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -210,7 +228,8 @@
                 T1&amp; <b>operator</b>+=(const T1&amp;, coordinate_type bloating)</font></td>
                 <td>Performs resize operation, inflating by bloating ammount.&nbsp; If
                 negative the result is a shrink instead of bloat.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; Expected n log n runtime, worst
+ case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -218,7 +237,8 @@
                 T1&amp; <b>operator</b>-=(const T1&amp;, coordinate_type shrinking)</font></td>
                 <td>Performs resize operation, deflating by bloating ammount.&nbsp; If
                 negative the result is a bloat instead of shrink.&nbsp; Returns
- reference to modified argument.</td>
+ reference to modified argument.&nbsp; Expected n log n runtime, worst
+ case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         </table>
 <h2>Functions</h2>
@@ -229,7 +249,8 @@
                 T1&amp; <b>assign</b>(T1&amp; lvalue, const T2&amp; rvalue)</font></td>
                 <td>Eliminates overlaps in geometry and copies from an object that
                 models polygon_set or any of its refinements into an object that
- models polygon_set</td>
+ models polygon_set.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T1, typename
@@ -238,7 +259,8 @@
                 <td>Returns true if an object that models polygon_set or one of its
                 refinements covers the exact same geometric regions as another object
                 that models polygon_set or one of its refinements.&nbsp; For example:
- two of polygon objects.</td>
+ two of polygon objects.&nbsp; Expected n log n runtime, worst case
+ quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -250,7 +272,9 @@
                 Slices geometry of an object that models polygon_set or one of its
                 refinements into non overlapping trapezoids along a vertical slicing
                 orientation and appends them to the
- output, which must have a value type that models polygon or polygon_with_holes. </td>
+ output, which must have a value type that models polygon or polygon_with_holes.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -262,7 +286,9 @@
                 Slices geometry of an object that models polygon_set or one of its
                 refinements into non overlapping trapezoids along a the specified slicing
                 orientation and appends them to the
- output, which must have a value type that models polygon or polygon_with_holes. </td>
+ output, which must have a value type that models polygon or polygon_with_holes.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename
@@ -275,7 +301,9 @@
                 polygon_set_type&gt;<br>
                 bool <b>empty</b>(const polygon_set_type&amp; polygon_set)</font></td>
                 <td>Checks whether the object is empty of geometry.&nbsp; Polygons that
- are completely covered by holes will result in empty returning true.</td>
+ are completely covered by holes will result in empty returning true.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -286,25 +314,30 @@
                 <td>Computes bounding box of an object that models polygon_set and
                 stores it in an object that models rectangle.&nbsp; If the polygon set
                 is empty returns false.&nbsp; If there are holes outside of shells they
- do not contribute to the extents of the polygon set.</td>
+ do not contribute to the extents of the polygon set.&nbsp; Expected n
+ log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 area_type <b>area</b>(const T&amp; polygon_set)</font></td>
                 <td>Computes the area covered by geometry in an object that models
- polygon_set</td>
+ polygon_set.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>bloat</b>(T&amp; polygon_set, unsigned_area_type bloating)</font></td>
                 <td>Same as getting all the polygons, bloating them and putting them
- back.</td>
+ back.&nbsp; Expected n log n runtime, worst case quadratic runtime wrt.
+ vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
                 T&amp; <b>shrink</b>(T&amp; polygon_set, unsigned_area_type shrinking)</font></td>
                 <td>Same as getting all the polygons, shrinking them and overwriting
- the polygon set with the resulting regions.</td>
+ the polygon set with the resulting regions.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename
@@ -318,24 +351,29 @@
                 by default, segmented circular arcs are inserted if corner_fill_arc is
                 true.&nbsp; num_circle_segments specifies number of segments to
                 introduce on a full circle when filling acute angle corners with
- circular arcs.</td>
+ circular arcs.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_up</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
- <td>Scales geometry up by unsigned factor..</td>
+ <td>Scales geometry up by unsigned factor.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
 T&amp; <b>scale_down</b>(T&amp; polygon_set, unsigned_area_type factor)</font></td>
- <td>Scales geometry down by unsigned factor.&nbsp; </td>
+ <td>Scales geometry down by unsigned factor.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T, typename transformation_type&gt;<br>
 T&amp; <b>transform</b>(T&amp; polygon_set,<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const
 transformation_type&amp; transformation)</font></td>
- <td>Applies transformation.transform() on all vertices.</td>
+ <td>Applies transformation.transform() on all vertices.&nbsp; Expected n
+ log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">template &lt;typename T&gt;<br>
@@ -348,7 +386,8 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned_area_type max_height)</font></td>
                 <td>Retains only regions that satisfy the min/max criteria in the
                 argument list.&nbsp; Note: useful for visualization to cull too small
- polygons.</td>
+ polygons.&nbsp; Expected n log n runtime, worst case quadratic runtime
+ wrt. vertices + intersections.</td>
         </tr>
         </table>
         <h1>Polygon Set Data Object</h1>
@@ -422,13 +461,14 @@
 <font face="Courier New">
 template &lt;typename iT&gt;<br>
 void <b>insert</b>(iT input_begin, iT input_end)</font></td>
- <td>Insert objects of an iterator range.</td>
+ <td>Insert objects of an iterator range.&nbsp; Linear wrt vertices
+ inserted.</td>
         </tr>
         <tr>
                 <td width="586">
 <font face="Courier New">
 void <b>insert</b>(const polygon_set_data&amp; polygon_set)</font></td>
- <td>Insert a polygon set.</td>
+ <td>Insert a polygon set.&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -437,7 +477,8 @@
 void <b>insert</b>(const geometry_type&amp; geometry_object, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool is_hole
 = false)</font></td>
                 <td>Insert a geometry object, if is_hole is true then the inserted
- region is subtractive rather than additive.</td>
+ region is subtractive rather than additive.&nbsp; Linear wrt vertices
+ inserted.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -452,7 +493,9 @@
                 to the number of edges plus 1.&nbsp; If required by the output data
                 type, polygons will have holes fractured out to the outer boundary along
                 the positive y direction and off grid intersections on the outer
- boundary introduced by this fracture will be truncated downward.</td>
+ boundary introduced by this fracture will be truncated downward.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -460,7 +503,8 @@
 void <b>get_trapezoids</b>(output_container&amp; output) const</font></td>
                 <td>Expects a standard container of polygon objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to trapezoids
- vertically and appends them to the container.</td>
+ vertically and appends them to the container.&nbsp; Expected n log n
+ runtime, worst case quadratic runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -471,7 +515,9 @@
                 </td>
                 <td>Expects a standard container of polygon objects.&nbsp; Will scan
                 and eliminate overlaps.&nbsp; Slices polygon set geometry to trapezoids
- along the given orientation and appends them to the container.</td>
+ along the given orientation and appends them to the container.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -480,7 +526,9 @@
                 <td>Once scanned the data representation of geometry within a polygon
                 set is in a mathematically canonical form.&nbsp; Comparison between two
                 sets is therefore a linear time operation once they are in the scanned
- state. Will scan and eliminate overlaps in both polygon sets.&nbsp; </td>
+ state. Will scan and eliminate overlaps in both polygon sets.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.&nbsp; </td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -498,11 +546,14 @@
                 </td>
                 <td>Check whether the polygon set contains no geometry.&nbsp; Will scan
                 and eliminate overlaps because subtractive regions might make the
- polygon set empty.</td>
+ polygon set empty.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">void <b>clean</b>() const</font></td>
- <td>Scan and eliminate overlaps.</td>
+ <td>Scan and eliminate overlaps.&nbsp; Expected n log n runtime, worst
+ case quadratic runtime wrt. vertices + intersections the first time,
+ constant time subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -518,7 +569,9 @@
 bool <b>extents</b>(rectangle_type&amp; extents_rectangle) const</font></td>
                 <td>Given an object that models rectangle, scans and eliminates overlaps
                 in the polygon set because subtractive regions may alter its extents
- then computes the bounding box and assigns it to extents_rectangle.</td>
+ then computes the bounding box and assigns it to extents_rectangle.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections the first time, linear subsequently.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -532,7 +585,9 @@
                 true.&nbsp; num_circle_segments specifies number of segments to
                 introduce on a full circle when filling acute angle corners with
                 circular arcs.&nbsp; Specifying zero for num_circle_segments results in
- only a single segment being inserted at acute corners.</td>
+ only a single segment being inserted at acute corners.&nbsp; Expected n
+ log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
@@ -540,25 +595,32 @@
 polygon_set_data&amp; <br><b>transform</b>(const transformation_type&amp; transformation) </font>
                 </td>
                 <td>Applies transformation.transform() on vertices stored within the
- polygon set.</td>
+ polygon set.&nbsp; Expected n log n runtime, worst case quadratic
+ runtime wrt. vertices + intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 polygon_set_data&amp; <b>scale_up</b>(unsigned_area_type factor)</font></td>
- <td>Scales vertices stored within the polygon set up by factor.</td>
+ <td>Scales vertices stored within the polygon set up by factor.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586">
 <font face="Courier New">polygon_set_data&amp; <b>scale_down</b>(unsigned_area_type
 factor)</font>&nbsp;</td>
- <td>Scales vertices stored within the polygon set down by factor.</td>
+ <td>Scales vertices stored within the polygon set down by factor.&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         <tr>
                 <td width="586"><font face="Courier New">
 template &lt;typename scaling_type&gt;<br>
 polygon_set_data&amp;<br> <b>scale</b>(const scaling_type&amp;
                 f)</font></td>
- <td>Scales vertices stored within the polygon set by applying f.scale().</td>
+ <td>Scales vertices stored within the polygon set by applying f.scale().&nbsp;
+ Expected n log n runtime, worst case quadratic runtime wrt. vertices +
+ intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_polygon_with_holes_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_polygon_with_holes_concept.htm (original)
+++ sandbox/gtl/doc/gtl_polygon_with_holes_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/gtl_property_merge.htm
==============================================================================
--- sandbox/gtl/doc/gtl_property_merge.htm (original)
+++ sandbox/gtl/doc/gtl_property_merge.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -93,7 +93,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>I<font face="Times New Roman">nsert a polygon set with an associated
- property.</font></td>
+ property.</font>&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -103,7 +103,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>Insert a geometry object that is a refinement of polygon set with an
- associated property.</td>
+ associated property.&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -112,7 +112,8 @@
 void <b>merge</b>(result_type&amp; result)</font></td>
                 <td>Accepts a container object that conforms to the expectations defined
                 above.&nbsp; Performs property merge and populates the container
- object.</td>
+ object.&nbsp; Expected n log n runtime, worst case quadratic runtime wrt.
+ vertices + intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_property_merge_45.htm
==============================================================================
--- sandbox/gtl/doc/gtl_property_merge_45.htm (original)
+++ sandbox/gtl/doc/gtl_property_merge_45.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -93,7 +93,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>I<font face="Times New Roman">nsert a polygon set with an associated
- property.</font></td>
+ property.</font>&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -103,7 +103,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>Insert a geometry object that is a refinement of polygon 45 set with
- an associated property.</td>
+ an associated property.&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -112,7 +112,7 @@
 void <b>merge</b>(result_type&amp; result)</font></td>
                 <td>Accepts a container object that conforms to the expectations defined
                 above.&nbsp; Performs property merge and populates the container
- object.</td>
+ object.&nbsp; O(n log n) runtime wrt. vertices + intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_property_merge_90.htm
==============================================================================
--- sandbox/gtl/doc/gtl_property_merge_90.htm (original)
+++ sandbox/gtl/doc/gtl_property_merge_90.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -93,7 +93,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>I<font face="Times New Roman">nsert a polygon set with an associated
- property.</font></td>
+ property.</font>&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -103,7 +103,7 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 const property_type&amp; property)</font></td>
                 <td>Insert a geometry object that is a refinement of polygon 90 set with
- an associated property.</td>
+ an associated property.&nbsp; Linear wrt vertices inserted.</td>
         </tr>
         <tr>
                 <td width="586">
@@ -112,7 +112,7 @@
 void <b>merge</b>(result_type&amp; result)</font></td>
                 <td>Accepts a container object that conforms to the expectations defined
                 above.&nbsp; Performs property merge and populates the container
- object.</td>
+ object.&nbsp; O(n log n) runtime wrt. vertices + intersections.</td>
         </tr>
         </table>
         <tr>

Modified: sandbox/gtl/doc/gtl_rectangle_concept.htm
==============================================================================
--- sandbox/gtl/doc/gtl_rectangle_concept.htm (original)
+++ sandbox/gtl/doc/gtl_rectangle_concept.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
             <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -44,6 +43,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>

Modified: sandbox/gtl/doc/index.htm
==============================================================================
--- sandbox/gtl/doc/index.htm (original)
+++ sandbox/gtl/doc/index.htm 2010-04-07 17:04:43 EDT (Wed, 07 Apr 2010)
@@ -15,9 +15,8 @@
     <div style="margin: 5px;">
         <h3 class="navbar">Contents</h3>
         <ul>
- <li>Polygon Library Main Page</li>
- <li><a href="gtl_design_overview.htm">Polygon
- Library Design Overview</a></li>
+ <li>Boost.Polygon Main Page</li>
+ <li>Design Overview</li>
                         <li>Isotropy</li>
             <li>Coordinate Concept</li>
             <li>Interval Concept</li>
@@ -45,6 +44,7 @@
             <li>GTL Boostcon 2009 Paper</li>
              <li><a href="GTL_boostcon_draft03.htm">GTL Boostcon 2009
                                 Presentation</a></li>
+ <li>Performance Analysis</li>
         </ul>
     </div>
         <h3 class="navbar">Polygon Sponsor</h3>
@@ -59,8 +59,8 @@
 
 <br>
 <p>
-</p><h1>THE BOOST POLYGON LIBRARY</h1>
-<p>The boost polygon library provides algorithms focused on manipulating planar
+</p><h1>THE BOOST.POLYGON LIBRARY</h1>
+<p>The Boost.Polygon library provides algorithms focused on manipulating planar
 polygon geometry data.&nbsp; Specific algorithms provided are the polygon set
 operations (intersection, union, difference, disjoint-union) and related
 algorithms such as polygon connectivity graph extraction, offsetting and map-overlay.&nbsp;
@@ -69,23 +69,31 @@
 These so-called Boolean algorithms are of significant interest in GIS (Geospatial Information
 Systems), VLSI CAD as well al other fields of CAD, and many more application
 areas, and providing them is the primary focus of this library.&nbsp; The
-polygon library is not intended to cover all of computational geometry in its
-scope, and provides a set of capabilities for working with coordinates, points,
-intervals and rectangles that are needed to support implementing and interacting
-with polygon data structures and algorithms.&nbsp; Specifically, 3d and
-non-Cartesian/non-planar geometry is outside of the scope of the polygon
-library.</p><img border="0" src="images/hand.png" width="837" height="277"><p>
+Boost.Polygon library is not intended to cover all of computational
+geometry in its scope, and provides a set of capabilities for working with
+coordinates, points, intervals and rectangles that are needed to support
+implementing and interacting with polygon data structures and algorithms.&nbsp; </p><img border="0" src="images/hand.png" width="837" height="277"><p>
+The coordinate data type is a template parameter of all data types and
+algorithms provided by the library, and is expected to be integral.&nbsp;
+Floating point coordinate data types are not supported by the algorithms
+implemented in the library due to the fact that the achieving floating point
+robustness implies a different set of algorithms and generally platform specific
+assumptions about floating point representations.&nbsp;
 For additional detailed discussion of the library and its implementation
 including benchmark comparisons with other open source alternatives please see
 the paper and
 <a href="GTL_boostcon_draft03.htm">presentation</a> from
-boostcon 2009. </p>
+boostcon 2009 as well as a detailed
+analysis of the runtime complexity of
+the library's core algorithms. </p>
 <p>The design philosophy behind the polygon library was to create an API for
 invoking the library algorithms it provides on user geometry data types that is maximally
 intuitive, minimally error-prone and easy to integrate into pre-existing
 applications.&nbsp; C++-concepts based template meta-programming combined with
 generic operator overloading meets these design goals without sacrificing the
-runtime or memory efficiency of the underlying algorithms.&nbsp; This API makes
+runtime or memory efficiency of the underlying algorithms.&nbsp; The API is
+intended to demonstrate what could be achieved with ease by a C++-concepts based
+library interface, but is implemented based on current language features.&nbsp; This API makes
 the following code snippet that operates on non-library geometry types possible:</p>
 <p:colorscheme
  colors="#ffffff,#000000,#808080,#000000,#bbe0e3,#333399,#009999,#99cc00"/>
@@ -132,7 +140,7 @@
 it, and the description is not much clearer than the code itself.&nbsp;
 Functions are named for what they do, or are overloads of C++ operators that make it
 easy to infer from reading the code what to expect from it.&nbsp; Operators are
-contained in the namespace <font face="Courier New">boost::polgyon::operators</font>
+contained in the namespace <font face="Courier New">boost::polygon::operators</font>
 so that they can be used outside the <font face="Courier New">boost::polygon</font>
 namespace without bringing in the entire <font face="Courier New">boost::polygon</font>
 namespace.&nbsp; Following the
@@ -176,6 +184,17 @@
 </ul>
 
 
+<p>We would like to thank: Thomas Klimpel, Frank Mori Hess, Barend Gehrels,
+Andreas Fabri, Jeffrey Hellrung, Tim Keitt, Markus Werle, Paul A. Bristow,
+Robert Stewart, Mathias Gaunard, Michael Fawcett, Steven Watanabe, Joachim
+Faulhaber, John Bytheway, Sebastian Redl, Mika Heiskanen, John Phillips, Kai
+Benndorf, Hartmut Kaiser, Arash Partow, Maurizio Vitale, Brandon Kohn, David
+Abrahams, Gordon Woodhull, Daniel James, John Maddock, Tom Brinkman, Bo Persson,
+Mateusz Loskot, Christian Henning, Jean-Sebastien Stoezel, for providing
+feedback and or formal review of the library as part of the boost submission
+process and Fernando Cacciola for graciously serving as review manager.</p>
+
+
 <table class="docinfo" rules="none" frame="void" id="table1">
         <colgroup>
                 <col class="docinfo-name"><col class="docinfo-content">
@@ -183,7 +202,7 @@
         <tbody vAlign="top">
                 <tr>
                         <th class="docinfo-name">Copyright:</th>
- <td>Copyright © Intel Corporation 2008-2009.</td>
+ <td>Copyright © Intel Corporation 2008-2010.</td>
                 </tr>
                 <tr class="field">
                         <th class="docinfo-name">License:</th>


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