Specifications

Print2CAD OCR 2013 - 62
7.7 Purge Short Distance Polyline Vertexes
PDF les can contain paths with many points (vertexes). Even a large amount of path data
can easily be processed in PDF, because paths do not have many parameters and properties.
After the conversion in DWG or DXF, every path segment becomes a full CAD line
or polyline. These single CAD elements may include many additional parameters and
properties.
Therefore it is advantageous to purge the polyline points during the conversion.
This can be achieved by setting the following parameters:
d = the minimum allowed segment of the polyline (needs to be determined)
Alpha = a maximum angle between the sections.
If a section is less than the parameter “d,” then the next point is deleted if the angle be-
tween the sections is smaller than “Alpha.”
Assigning the angle “Alpha” helps to not truncate polyline details like corners (for ex-
ample the lower left corner of gure 2 in graphic below).
Figure: Parameters