Esempio n. 1
0
        public void PointRead()
        {
            var dxf = DxfContents.ReadDxf(FilePath);

            var x = 212.509090909091;
            var y = 54.7636363636364;
            var z = 0.0;

            var points = dxf.Points;
            var point  = points[0];

            Assert.AreEqual(1, points.Count);
            Assert.AreEqual(x, point.Coordinate.X);
            Assert.AreEqual(y, point.Coordinate.Y);
            Assert.AreEqual(z, point.Coordinate.Z);
        }
Esempio n. 2
0
        public void DxfInitialize()
        {
            var dxf = DxfContents.ReadDxf(FilePath);

            Assert.IsNotNull(dxf);
        }