Exemplo n.º 1
0
        public void CircleAABBTest()
        {
            Point3d  p = new Point3d(1, 1, 1);
            Vector3d v = new Vector3d(3, 4, 0);
            Circle3d c = new Circle3d(p, 5, v);

            Box3d res = new Box3d(p, 8, 6, 10);

            Assert.AreEqual(c.BoundingBox(), res);
        }