/// <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(); }