Function NavigationPolygon.addPolygon

Adds a polygon using the indices of the vertices you get when calling getVertices.

void addPolygon (
  const(PoolArray!(int)) polygon
) nothrow @nogc;