Opened 7 years ago
Last modified 7 years ago
#7038 closed defect
DXF: Algorithm for reading SOLIDs fails on certain shapes — at Version 1
Reported by: | Alan Thomas | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | dxf |
Cc: |
Description (last modified by )
The algorithm for translating SOLID entities fails on certain shapes. On the attached parallelogram, it creates invalid self-intersecting POLYGONs. On other SOLIDs with one or two distinct points, it returns empty POLYGONs.
In the attached patch, I have reimplemented the algorithm using a Jarvis march. The patch also fixes an unrelated crash that I was hitting in PrepareLineStyle
.
Change History (4)
by , 7 years ago
Attachment: | solid-parallelogram.dxf added |
---|
by , 7 years ago
Attachment: | solid-less-than-4-vertices.dxf added |
---|
by , 7 years ago
Attachment: | OGR-DXF-solid-algorithm-fix.diff added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.