Skip to content

Is it possible to use a joinStyle that isn't JOIN_ROUND when doing single-sided offsetting of a Polygon geometry? #1105

Closed Answered by dr-jts
nubblesite asked this question in Q&A
Discussion options

You must be logged in to vote

No, currently the OffsetCurve algorithm does not respect the join style. This is a bug - the parameters are not being passed to the underlying buffer call.

It's easy to do this manually,l however. Simply construct the buffer of the polygon (on the required side, and with the desired parameters) and extract its boundary.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nubblesite
Comment options

Answer selected by nubblesite
Comment options

You must be logged in to vote
0 replies
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