Closed nsiatras closed 2 years ago
Hello,
I am wondering if there is any example on how to perform polygon offsetting.
I have a double[][] array with the polygon vertices points in clockwise order and I want to inflate it by 2mm. Is there any example code on how to perform the offseting ?
Thank you in advance
I found it
So how?and thank you
@nsiatras @dr-jts
Probably you want to use the buffer functionality: http://www.tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html#buffer%28double%29
Hello,
I am wondering if there is any example on how to perform polygon offsetting.
I have a double[][] array with the polygon vertices points in clockwise order and I want to inflate it by 2mm. Is there any example code on how to perform the offseting ?
Thank you in advance