Is it possible to use a joinStyle that isn't JOIN_ROUND when doing single-sided offsetting of a Polygon geometry? #1105
Unanswered
nubblesite
asked this question in
Q&A
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm calling OffsetCurve(myPolygon, offsetDistance, bufferParams).getCurve() and I always end up with an offset that has rounded corners, even though my bufferParams.joinStyle = JOIN_MITRE
Is this expected behavior? Is there a way to get a mitre joinStyle for a Polygon that gets passed into OffsetCurve()?
Beta Was this translation helpful? Give feedback.
All reactions