in reply to polygon buffering algorithms
If you need more, let us know.foreach edge (edges in polygon, clockwise) construct parallel line distance d from edge, store it in an array done foreach parallel line find intersection with next line in array, allowing for wrap around store intersection in an array done #intersections are the vertexes of your new polygon
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: polygon buffering algorithms
by ikegami (Patriarch) on Feb 08, 2005 at 18:17 UTC | |
by thor (Priest) on Feb 08, 2005 at 19:13 UTC | |
by ikegami (Patriarch) on Feb 08, 2005 at 19:53 UTC |