예제 #1
0
 public void WriteArc(DL_Writer dw, DL_ArcData data, DL_Attributes attrib)
 {
     dw.Entity("ARC");
     dw.DxfString(100, "AcDbEntity");
     dw.EntityAttributes(attrib);
     dw.DxfString(100, "AcDbCircle");
     dw.Coord(10, data.cx, data.cy, data.cz);
     dw.DxfReal(40, data.radius);
     dw.DxfString(100, "AcDbArc");
     dw.DxfReal(50, data.angle1);
     dw.DxfReal(51, data.angle2);
 }
예제 #2
0
 public void writeArc(DL_Writer dw, DL_ArcData data, DL_Attributes attrib)
 {
     dw.entity("ARC");
     if (_version == DL_Codes.VER_2000)
     {
         dw.dxfString(100, "AcDbEntity");
     }
     dw.entityAttributes(attrib);
     if (_version == DL_Codes.VER_2000)
     {
         dw.dxfString(100, "AcDbCircle");
     }
     dw.coord(10, data.cx, data.cy, data.cz);
     dw.dxfReal(40, data.radius);
     if (_version == DL_Codes.VER_2000)
     {
         dw.dxfString(100, "AcDbArc");
     }
     dw.dxfReal(50, data.angle1);
     dw.dxfReal(51, data.angle2);
 }
예제 #3
0
파일: DL_Dxf.cs 프로젝트: minrogi/PLMPack
 public void writeArc(DL_Writer dw, DL_ArcData data, DL_Attributes attrib)
 {
     dw.entity("ARC");
     if (_version == DL_Codes.VER_2000)
         dw.dxfString(100, "AcDbEntity");
     dw.entityAttributes(attrib);
     if (_version == DL_Codes.VER_2000)
         dw.dxfString(100, "AcDbCircle");
     dw.coord(10, data.cx, data.cy, data.cz);
     dw.dxfReal(40, data.radius);
     if (_version == DL_Codes.VER_2000)
         dw.dxfString(100, "AcDbArc");
     dw.dxfReal(50, data.angle1);
     dw.dxfReal(51, data.angle2);
 }