diff --git a/doc/gtl_polygon_set_concept.htm b/doc/gtl_polygon_set_concept.htm index 09cf8bc..1c461c5 100644 --- a/doc/gtl_polygon_set_concept.htm +++ b/doc/gtl_polygon_set_concept.htm @@ -69,14 +69,9 @@ geometry regions.  A Polygon Set Concept may be defined with floating point coordinates, but a snap rounding distance of one integer unit will still be applied, furthermore, geometry outside the domain where one integer unit is sufficient to provide robustness may lead to undefined behavior in algorithms.  -It is recommended to use integer coordinates for robust operations.  In the -case that data represented contains only Manhattan geometry a runtime check will -default to the Manhattan algorithm.  The results of which are identical to -what the general algorithm would do, but obtained more efficiently.  In the -case that the data represented contains only Manhattan and 45-degree geometry a -runtime check will default to the faster 45-degree algorithm.  The results -of which may differ slight from what the general algorithm would do because -non-integer intersections will be handled differently.

Users are recommended to use std::vector and std::list of user defined polygons +It is recommended to use 32-bit integer coordinates for robust operations. + +

Users are recommended to use std::vector and std::list of user defined polygons or library provided polygon_set_data<coordinate_type> objects.  Lists and vectors of models of polygon_concept or polygon_with_holes_concept are automatically models of polygon_set_concept.

Example code custom_polygon_set.cpp @@ -648,4 +643,4 @@ polygon_set_data&
scale(const scaling_type& - \ No newline at end of file +