Example #1
0
        public void BBoxTest()
        {
            var l    = new Line3D(10, 50, -10, -10, -50, 60);
            var bbox = l.BBox(1e-1);

            Assert.True(bbox.Min.EqualsTol(1e-1, -10, -50, -10));
            Assert.True(bbox.Max.EqualsTol(1e-1, 10, 50, 60));
        }