Esempio n. 1
0
        public void Test_Surface()
        {
            TestContext.WriteLine($"Testing: {nameof(Test_Surface)}");
            var p   = Plane.WorldXY;
            var srf = new PlaneSurface(p, new Interval(0, 1), new Interval(0, 2)).ToBrep().Surfaces.First();

            var face3D  = srf.ToHBFace3D();
            var boudary = face3D.Boundary;

            Assert.AreEqual(boudary[2], new List <decimal> {
                1, 2, 0
            });
        }