Unexpected result offset with PathsD #518
-
Hi, I used to have an offset operation in Clipper1 like in the first attached picture (the green lines are the input paths, whilst the small black one is the result); Also, by continuing testing, I got some spikes in offset operation like in the second attached pictures. Any help/hint very appreciated, thanks in advance! I attach a file with the polygons replicating the behavior, just in case. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
And why are you throwing all that precision away? Try ... And likewise with the two regions you've marked with red arrows. |
Beta Was this translation helpful? Give feedback.
And why are you throwing all that precision away?
Try ...
PathsD result = Clipper.InflatePaths(subj, -78, JoinType.Miter, EndType.Polygon);
Then at least you'll get the default precision (ie 2 dec. places).
And likewise with the two regions you've marked with red arrows.