Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10961 closed Bugs (fixed)

Wrong turns generated by get_turns() for Linear spikes. — at Version 4

Reported by: awulkiew Owned by: awulkiew
Milestone: Boost 1.58.0 Component: geometry
Version: Boost 1.57.0 Severity: Problem
Keywords: overlay, relate, get_turns Cc:

Description (last modified by awulkiew)

  1. For L/A:
    "LINESTRING(7 8, 6 10, 10 2)"
    "POLYGON((0 0,0 10,10 10,10 0,0 0))"
    
    "LINESTRING(7 8, 6 10, 11 0)"
    "POLYGON((0 0,0 10,10 10,10 0,0 0))"
    

for intersection point (6 10) u/u is generated instead of i/u.

  1. For L/L:
    "LINESTRING(6 0,0 0,5 0)"
    "LINESTRING(2 0,0 0,-10 0)"
    

for intersection point (0 0) only one, wrong turn is generated (a spike is not detected as a spike).

  1. For L/L
    "LINESTRING(-7 -8,3 0,4 -1,-7 10)"
    "LINESTRING(-5 -4,3 0,4 -1,7 -4,2 -1)"
    

similar to the above.

Change History (4)

comment:2 by awulkiew, 8 years ago

Description: modified (diff)
Summary: Wrong turn generated by get_turns() for a Linear spike.Wrong turns generated by get_turns() for a Linear spikes.

comment:3 by awulkiew, 8 years ago

Description: modified (diff)

comment:4 by awulkiew, 8 years ago

Description: modified (diff)
Summary: Wrong turns generated by get_turns() for a Linear spikes.Wrong turns generated by get_turns() for Linear spikes.
Note: See TracTickets for help on using tickets.