replaceEdge

open override fun replaceEdge(index: Int, newEdge: Segment2D<Euclidean2DPosition>): Boolean

Replaces an edge of the polygon.

Parameters

index

the index of the edge to replace (edge i connects vertices i and i+1)

newEdge

the new edge