|
static |
Computes the edge of the given polygon which is nearest to the given point .
The edges are obtained by the collection of points called polygon . It is assumed that the path points are sorted.
polygon | Sorted list of polygon points. |
point | Point relative to the path |
startEdgeIndex | Determines the edge index where to start the algorithm (optional). |