Beispiel #1
0
        /// <summary>
        /// Reflect throught the point given.
        /// Switches Top Left and Bottom Right to maintain validity.
        /// </summary>
        /// <param name="Point">Reflection point.</param>
        public override void Reflect(C2DPoint Point)
        {
            TopLeft.Reflect(Point);
            BottomRight.Reflect(Point);

            double x = TopLeft.x;
            double y = TopLeft.y;

            TopLeft.Set(BottomRight);
            BottomRight.x = x;
            BottomRight.y = y;
        }