Re: [Boost-bugs] [Boost C++ Libraries] #11783: distance between polygon

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11783: distance between polygon
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-03 13:19:29

#11783: distance between polygon
  Reporter: brahim.boudamouz@… | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords: distance polygon

Comment (by awulkiew):

 Thanks for the report.

 By default `bg::model::polygon` is clockwise and closed (the last point
 must be equal to the first one). On the other hand the polygons you
 defined in WKT are not. To fix it you may:
 1. Pass closed WKTs
 2. Call `bg::correct()` after reading the polygon from WKT
 3. Use open polygon type, e.g. `bg::model::polygon<point_type, true,

 Can you confirm that this is not a bug?

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC