Clarify polygon orientation requirement for buffer algorithm
This PR adds a note in the buffer documentation (under [heading Strategies]) to clarify that the buffer algorithm expects polygons to be counter-clockwise. If a polygon is clockwise, it should be reversed using:
boost::geometry::reverse(poly);
A link to the Polygon Concept is also provided for more details.
This helps users avoid confusion when using buffer with custom polygons. Related issue: #1375
Hi @ Boost Geometry team,
This PR adds a note under the [heading Strategies] section of the buffer documentation to clarify that the buffer algorithm expects polygons to be counter-clockwise. If a polygon is clockwise, it should be reversed using:
boost::geometry::reverse(poly);
A link to the Polygon Concept is also provided for more details.
This addresses issue #1375 and should help new users avoid confusion when using the buffer function with custom polygons.
Thank you for reviewing!
Thank you for the clarification and the reference.
Since the note I added is incorrect, I will close this PR. Thanks again for pointing this out.