Ejemplo n.º 1
0
        public void Surface2D_ctorFromBox_surfOK()
        {
            initSurf();
            var    testPt   = new Vector3(0, 0, 0);
            var    surfPt   = surf.GetPointAt(testPt);
            double distance = surfPt.Position.DistanceTo(testPt);

            Assert.AreEqual(0, distance, .001);
            var surfPtList = surf.GetAllPoints();
            int ptCount    = surfPtList.Count;

            Assert.AreEqual(160801, ptCount);
        }