Beispiel #1
0
        public void AbsoluteLocationOrder1()
        {
            var child = GetTreeChildForTopDownLocations(new[]
            {
                new Frame3D(10, 0, 0),
                Frame3D.DoYaw(Angle.HalfPi),
            });

            CheckFrameIsWithin(new Frame3D(10, 0, 0, Angle.Zero, Angle.HalfPi, Angle.Zero), child.GetAbsoluteLocation());
            child = GetTreeChildForTopDownLocations(
                new[]
            {
                Frame3D.DoYaw(Angle.HalfPi),
                new Frame3D(10, 0, 0)
            });
            CheckFrameIsWithin(new Frame3D(0, 10, 0, Angle.Zero, Angle.HalfPi, Angle.Zero), child.GetAbsoluteLocation());
        }