c++ - How to parse DXF hatch by means of dxflib -
i using dxflib in order parse dxf files. have implemented class dl_creationadapter
class entityhandler : public dl_creationadapter { public: /** called every hatch entity. */ void addhatch(const dl_hatchdata& data); /** called every hatch loop. */ void addhatchloop(const dl_hatchloopdata& data); /** called every hatch edge entity. */ void addhatchedge(const dl_hatchedgedata& data); };
but have problem while parsing entities of type hatch. is, not able find data related rounded paths.
considering example following dxf image:
for each dl_hatchedgedata
receive dl_hatchedgedata.type
equals 0 , list of vertices, able build path following one:
please note difference between 2 images.
where can find information fact conjunctions of path rounded?
Comments
Post a Comment