0

I have a list of point2D that makes a closed polygon. I can offset the edges outside or inside of the polygon. But i wanna offset the edges with different values. For example this is my polygon:

[[ 25   0]
 [  0  25]
 [  0  75]
 [ 25 100]
 [ 75 100]
 [100  75]
 [100  25]
 [ 75   0]
 [ 25   0]] 

5 units offset from the edge formed by (25.0) and (75.0) coordinates; 4 units offset from the edge formed by (25.100) and (75.100) coordinates; and 3 units offset from remaining edges. (all inwards)

how can i do this? what should i do?

user3132616
  • 67
  • 1
  • 6

0 Answers0