Skip to content

Conversation

e-n-f
Copy link
Contributor

@e-n-f e-n-f commented Jun 27, 2019

No description provided.

@e-n-f e-n-f requested a review from flippmoke June 27, 2019 20:38
@@ -269,7 +269,7 @@ drawvec clean_or_clip_poly(drawvec &geom, int z, int buffer, bool clip) {

mapbox::geometry::multi_polygon<long long> result;
try {
wagyu.execute(mapbox::geometry::wagyu::clip_type_union, result, mapbox::geometry::wagyu::fill_type_positive, mapbox::geometry::wagyu::fill_type_positive);
wagyu.execute(mapbox::geometry::wagyu::clip_type_union, result, even_odd ? mapbox::geometry::wagyu::fill_type_even_odd : mapbox::geometry::wagyu::fill_type_positive, even_odd ? mapbox::geometry::wagyu::fill_type_even_odd : mapbox::geometry::wagyu::fill_type_positive);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second fill option is only needed to change if you are using "clip" polygon types with add_ring, I believe you are only using subject polygon types so you can probably just always leave the 2nd option as positive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants