Пример #1
0
 public void closePath()
 {
     if (!isClosed)
     {
         isClosed = true;
         _solver.closePath();
     }
 }
Пример #2
0
    /// <summary>
    /// closes the path adding a new node at the end that is equal to the start node if it isn't already equal
    /// </summary>
    public void closePath()
    {
        // dont let this get closed twice!
        if (isClosed)
        {
            return;
        }

        isClosed = true;
        _solver.closePath();
    }