dxfpoint.cs

来自「导出dxf的原码类库,根据国外一个反编译的」· CS 代码 · 共 40 行

CS
40
字号
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SunDXFDll
{
    public class DXFPoint:ICloneable
    {
        // Fields
        public float X;
        public float Y;
        public float Z;

        // Methods
        public DXFPoint()
        {
        }

        public DXFPoint(DXFPoint dxfP)
        {
            this.X = dxfP.X;
            this.Y = dxfP.Y;
            this.Z = dxfP.Z;
        }

        public DXFPoint(float x, float y, float z)
        {
            this.X = x;
            this.Y = y;
            this.Z = z;
        }

        public object Clone()
        {
            return new DXFPoint(this);
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?