Miter inflation
#384
|
I see that the S2BufferOperation class allows us to buffer polygons with a circle sweep. Is there an easy way to do a miter inflation (like in here: https://stackoverflow.com/questions/1109536/an-algorithm-for-inflating-deflating-offsetting-buffering-polygons)? |
Answered by
smcallis
Sep 29, 2024
Replies: 1 comment 1 reply
|
We don't support it because a circular sweep it equivalent to finding all the points within a certain distance of the input geometry, which is effectively always what you want for GIS applications. There's no reason it couldn't be done but you'd have to offset the edges and generate the intersection points manually, passing them to S2Builder. |
1 reply
Answer selected by
dm356
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We don't support it because a circular sweep it equivalent to finding all the points within a certain distance of the input geometry, which is effectively always what you want for GIS applications. There's no reason it couldn't be done but you'd have to offset the edges and generate the intersection points manually, passing them to S2Builder.