[bug]LineString::toPolygon_2() for empty polygons
add tests for area