Use cartesian points for 2D hull
small cleanup - removed redundant dim field
Be compatible with existing behavior: close open paths in DXF files
adjusted test results