资源说明:[Net]读取DXF格式源码
using System;
using System.Collections.Generic;
using System.Text;
namespace FreeFly.ARX.DXF
{
public class DXFLine : DXFFigure, ICloneable
{
// 方法
public DXFLine()
{
}
public DXFLine(DXFData aData)
: base(aData)
{
}
public object Clone()
{
DXFLine dxfl = new DXFLine();
dxfl.StartPoint = (DXFPoint)this.StartPoint.Clone();
dxfl.EndPoint = (DXFPoint)this.EndPoint.Clone();
return dxfl;
}
public override void ExportAsDXF(DXFExport ADXFExport)
{
ADXFExport.AddName("LINE", "AcDbLine");
ADXFExport.AddColor(base.data);
ADXFExport.AddThickness(base.data);
ADXFExport.Add3DPoint(10, base.data.point);
ADXFExport.Add3DPoint(11, base.data.point1);
}
......
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。