Opened 7 years ago

Last modified 7 years ago

#7038 closed defect

DXF: Algorithm for reading SOLIDs fails on certain shapes — at Initial Version

Reported by: Alan Thomas Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: dxf
Cc:

Description

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 (3)

by Alan Thomas, 7 years ago

Attachment: solid-parallelogram.dxf added

by Alan Thomas, 7 years ago

by Alan Thomas, 7 years ago

Note: See TracTickets for help on using tickets.