mirror of
https://github.com/boostorg/polygon.git
synced 2026-02-13 00:32:10 +00:00
added simplify algorithm documentation
[SVN r70728]
This commit is contained in:
@@ -349,6 +349,17 @@ together.</p>
|
||||
circular arcs. Expected n log n runtime, worst case quadratic
|
||||
runtime wrt. vertices + intersections.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="586"><font face="Courier New">template <typename T, typename
|
||||
coord_type><br>
|
||||
T& <b>simplify</b>(T& polygon_set, distance_type
|
||||
threshold)</font></td>
|
||||
<td>Simplify the polygon set by removing vertices that lie
|
||||
within threshold distance of the line segment that
|
||||
connects the two adjacent points in the polygon.
|
||||
Expected n log n runtime, worst case quadratic
|
||||
runtime wrt. vertices + intersections.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="586"><font face="Courier New">template <typename T><br>
|
||||
T& <b>scale_up</b>(T& polygon_set, unsigned_area_type factor)</font></td>
|
||||
|
||||
Reference in New Issue
Block a user