Obstacle ConvertLineToPoly() fails
Both the above geometry are considered as a closed polygon. Fig A has intersecting Walls. In fig B there are no intersecting Walls, but the added walls are considered to form a polygon with 7 vertex. Meaning there is a duplicate created in the _poly vector.
Note:: Fig B is considered as a polygon with 7 vertex only when the lines are added in the above mentioned order. If Point P1 is not the starting point, then different results occur. The results are not consistent and varies directly proportional to the order of adding the walls.