private void PartIfDoesNotFormCorner(Wall aWall, Wall intersected, List <Point> intersectionPoints) { if (!aWall.IsConnected(intersected)) { Point actualIntersection; actualIntersection = intersected.GetIntersection(aWall); PartWall(intersected, actualIntersection); intersectionPoints.Add(actualIntersection); } else { InsertUnintersectedWall(aWall); } }