Skip to content

Unexpected result offset with PathsD #518

Answered by AngusJohnson
F-Fede asked this question in Q&A
Discussion options

You must be logged in to vote

PathsD result = Clipper.InflatePaths(subj, -78, JoinType.Miter, EndType.Polygon, 2, 0); // I get no result

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@F-Fede
Comment options

@AngusJohnson
Comment options

Answer selected by F-Fede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants