private void ConnectPoints(int fromId, int toId, FStar fstar) { if (fstar.HasPoint(toId) && !fstar.ArePointsConnected(fromId, toId)) { fstar.ConnectPoints(fromId, toId); } }