资源说明:c++ 读取dxf文件的库
用法示例:
const std::string file = "C:\\Doc\\连衣裙.dxf";
Test_CreationClass* creationClass = new Test_CreationClass();
DL_Dxf* dxf = new DL_Dxf();
std::cout << "Reading file " << file << "...\n";
if (!dxf->in(file, creationClass))// if file open failed
{
std::cerr << file << " could not be opened.\n";
return;
}
然后所有元素都存在creationClass了
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。