Boost version 1.75.0.
Created a voronoi diagram for a given closed polygon. The diagram has an infinite segment(ray) that origin point inside in polygon. As far as I understand, such cases should not be for closed polygons and second point of this segment must on the perimeter. Also in this case, two segments of the diagram intersect.
Source polygon:
Perimeter.txt
Diagram (Blue segments are polygon. Black segments are primary. Green segments are secondary.):
Infinity segment (Blue segments are polygon. Infinite segment(ray) is red. Black segments are primary segments inside polygon and not touching perimeter.):
Segments intersect (Blue segments are polygon. Black segments are primary. Green segments are secondary.):
Boost version 1.75.0. Created a voronoi diagram for a given closed polygon. The diagram has an infinite segment(ray) that origin point inside in polygon. As far as I understand, such cases should not be for closed polygons and second point of this segment must on the perimeter. Also in this case, two segments of the diagram intersect. Source polygon: Perimeter.txt Diagram (Blue segments are polygon. Black segments are primary. Green segments are secondary.): Infinity segment (Blue segments are polygon. Infinite segment(ray) is red. Black segments are primary segments inside polygon and not touching perimeter.): Segments intersect (Blue segments are polygon. Black segments are primary. Green segments are secondary.):