mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-31 20:22:09 +00:00
[relate] Fix relate(MLs,A) - reset state in handler per Ls.
In turns handling code reset exit_watcher and other state variables when new linestring is detected and previous one was handled.
This commit is contained in:
@@ -787,6 +787,15 @@ struct linear_areal
|
||||
}
|
||||
}
|
||||
|
||||
// If post-last-ip apply() was called this wouldn't be needed
|
||||
if ( first_in_range )
|
||||
{
|
||||
m_exit_watcher.reset();
|
||||
m_boundary_counter = 0;
|
||||
m_first_from_unknown = false;
|
||||
m_first_from_unknown_boundary_detected = false;
|
||||
}
|
||||
|
||||
// i/u, c/u
|
||||
if ( op == overlay::operation_intersection
|
||||
|| op == overlay::operation_continue ) // operation_boundary/operation_boundary_intersection
|
||||
|
||||
Reference in New Issue
Block a user