-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation failure switching from 1.75 to 1.76 in boost::geometry::self_turns #870
Comments
Hi Leonardo, Yes, this was caused by the change in strategies handling. Because Either like this:
or like this:
or like this:
@barendgehrels @vissarion Do you think I should add umbrella strategies support in this algorithm? I'm not sure considering it's undocumented and doesn't have a "proper" interface anyway. |
@awulkiew understood. I think so, because this function is apparently used and it is useful. We should document it at some point. So it should work like the other functions do. |
It looks useful but I cannot comment more on the usability. Also it is partially documented https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp#L315 |
Ok, I'll treat it as a bug then and add automatic conversion from legacy to umbrella strategy. |
Hello, I am trying to solve a compilation problem moving from 1.75 to 1.76 on vs2019.
My function is used to insert points at the self intersection of a trimmed surface uv boundary to ensure that the subsequent
triangulation will not fail.
It accepts as input the 2d points as well as the 3d points, find the self intersections in UV space, compute the linearized 3d positions and add to the corresponding 3d vector.
I adapted my Pt2d structure, so that I can use directly in the polygon.
My code is the following:
It fails the compilation at boost self turn with the output below.
Do you have an idea on how it is possible to solve this problem?
Thanks a lot!
Leonardo
The text was updated successfully, but these errors were encountered: