boostorg/geometry — pull request #67 by mkaravel (2014-06-19 13:41:36+00:00)
Title: Feature/is simple

Optimize the calls to self turns. To do this, pass a predicate-based interrupt policy to self turns that checks each turn as to whether it is acceptable or not.

Two new policies have been introduced (in detail::overlay namespace):

1. predicate_based_interrupt_policy: takes a predicate object at construction time and uses it to check whether turns are acceptable or not.

2. stateless_predicate_based_interrupt_policy: takes a predicate type and uses its static apply method to check whether turns are acceptable or not.