advanceEdge

abstract fun advanceEdge(index: Int, step: Double): Boolean(source)

Advances an edge in its normal direction.

Parameters

index

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

step

the length of the vector that will be used to advance the edge, negative values are supported and will shrink the polygon instead of extending it.