replace Edge
abstract fun replaceEdge(index: Int, newEdge: Segment2D<Euclidean2DPosition>): Boolean
Content copied to clipboard
Replaces an edge of the polygon.
Parameters
index
the index of the edge to replace (edge i connects vertices i and i+1)
new Edge
the new edge