用C语言程序读取CAD的dxf文件里的实体语言.docVIP

  • 6
  • 0
  • 约1.41万字
  • 约 46页
  • 2019-08-11 发布于江西
  • 举报

用C语言程序读取CAD的dxf文件里的实体语言.doc

{ wold line-dxf(FILE *fp,char layer[2],float x1,floal y1, float x2,float y2) fprintf(fp,0\nLINE\n 8\n%s\n,1ayer); fprintf(fp,10\n%f\n 20\n%f\n,x1,y1); fprintf(fp,l1\n%f\n 2l\n%f\n,x2,y2); } #include math .h; #include stdio.h; #include acad -dxf.c main() {float r1,r2,11,12,13 x[100],y[37].Z[37]; float beta.beta1,fq,dz,w; int i; float xl,x1,y1,z1,x2,z2,x3,z3 ,x4 ,z4,xs,zs,Xe, ze; FILE*fp 摘要:本文简要介绍了一下DXF文件的组成。重点讲述了怎样使用C语言来读取DXF文件中的实体信息。 关键字:C、DXF Abstract: The paper present the basic parts of DXF file. And focus on how to use C read the entity’s information from DXF file. Key Words: C,

文档评论(0)

1亿VIP精品文档

相关文档