Beispiel #1
0
 R3Plane IR3Plane.RotateAroundAxis(int indexOfAxis, int numberOfTimes, NumberOFPlanes numberOfPlanes, R3Point planeCentre, int planeNumber)
 {
     throw new NotImplementedException();
 }
 protected R3Plane DealWith15PlanesReflection(int[] axisIndeces, int numberOfTimes, NumberOFPlanes numberOfPlanes, R3Point planeCentre)
 {
     return(planePerspective.DealWith15PlanesReflection(axisIndeces, numberOfTimes, planeCentre, planeNumber, numberOfPlanes));
 }
 public NonCircularFirstLetter(R3Point startingPoint, char letter, int letterDirection, R3Plane onPlane, bool smaller, Dictionary <int, int> duration)
 {
 }
 public R3Plane(R3Point planeCenter, int planeNumber, NumberOFPlanes numberOfPlanes)
     : base(planeCenter.Position, 3, planeNumber)
 {
     this.numberOfPlanes = numberOfPlanes;
 }
 protected R3Plane DealWith15PlanesRotation(int indexOfAxis, int numberOfTimes, NumberOFPlanes numberOfPlanes, R3Point planeCentre)
 {
     return(planePerspective.DealWith15PlanesRotation(indexOfAxis, numberOfTimes, planeCentre, planeNumber, numberOfPlanes));
 }
 public R3Plane DealWith9PlanesRotation(int indexOfAxis, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
 {
     throw new NotImplementedException();
 }
Beispiel #7
0
        public ThirtheenthPlanePerspective(R3Point planeCenter, int planeNumber, NumberOFPlanes numberOfPlanes)

        {
        }
Beispiel #8
0
 public R3Plane DealWith9PlanesReflection(int[] axisIndeces, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
 {
     return(null);
 }
Beispiel #9
0
 public R3Plane DealWith11PlanesRotation(int indexOfAxis, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
 {
     return(null);
 }
Beispiel #10
0
        public NinethPlanePerspective(R3Point planeCenter, int planeNumber, NumberOFPlanes numberOfPlanes)

        {
        }
Beispiel #11
0
        public R3Plane RotateAroundAxis(int indexOfAxis, int numberOfTimes, NumberOFPlanes numberOfPlanes, R3Point planeCentre, int planeNumber)
        {
            if (numberOfPlanes == NumberOFPlanes.Fiftheen_Planes)
            {
                return(DealWith15PlanesRotation(indexOfAxis, numberOfTimes, planeCentre, planeNumber, numberOfPlanes));
            }

            else if (numberOfPlanes == NumberOFPlanes.Eleven_Planes)
            {
                return(DealWith11PlanesRotation(indexOfAxis, numberOfTimes, planeCentre, planeNumber, numberOfPlanes));
            }

            else
            {
                return(DealWith9PlanesRotation(indexOfAxis, numberOfTimes, planeCentre, planeNumber, numberOfPlanes));
            }
        }
Beispiel #12
0
        public R3Plane DealWith15PlanesReflection(int[] axisIndeces, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
        {
            float newXCoordinate = planeCentre.Position.GetAxisAt(0);
            float newYCoordinate = planeCentre.Position.GetAxisAt(1);
            float newZCoordinate = planeCentre.Position.GetAxisAt(2);

            if (numberOfTimes % 2 != 0)
            {
                switch (GetPlaneNumber(axisIndeces))
                {
                case 1:
                    newZCoordinate = -planeCentre.Position.GetAxisAt(2);
                    break;

                case 2:
                    newXCoordinate = -planeCentre.Position.GetAxisAt(0);
                    break;

                case 3:
                    newXCoordinate = -planeCentre.Position.GetAxisAt(1);
                    newYCoordinate = planeCentre.Position.GetAxisAt(0);
                    break;

                case 4:
                    newYCoordinate = -planeCentre.Position.GetAxisAt(1);
                    break;

                case 5:
                    newYCoordinate = planeCentre.Position.GetAxisAt(0);
                    newXCoordinate = planeCentre.Position.GetAxisAt(1);
                    break;

                case 6:
                    newYCoordinate = -planeCentre.Position.GetAxisAt(2);
                    newZCoordinate = planeCentre.Position.GetAxisAt(1);
                    break;

                case 7:
                    newYCoordinate = planeCentre.Position.GetAxisAt(2);
                    newZCoordinate = planeCentre.Position.GetAxisAt(1);

                    break;

                case 8:
                    newXCoordinate = planeCentre.Position.GetAxisAt(2);
                    newZCoordinate = planeCentre.Position.GetAxisAt(0);
                    break;

                case 9:
                    newXCoordinate = -planeCentre.Position.GetAxisAt(2);
                    newZCoordinate = planeCentre.Position.GetAxisAt(0);
                    break;

                case 10:

                    break;

                case 11:

                    break;

                case 12:

                    break;

                case 13:

                    break;

                case 14:

                    break;

                case 15:

                    break;
                }
            }

            return(new R3Plane(new R3Point(newXCoordinate, newYCoordinate, newZCoordinate), planeNumber, numberOfPlanes));
        }
Beispiel #13
0
        public NinethPlanePerspective(R3Point planeCenter, int planeNumber)

        {
        }
Beispiel #14
0
        private R3Plane Rotate9AroundZAxis(int indexOfAxis, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
        {
            int newPlaneNumber;

            switch (planeNumber)
            {
            case 1:
                newPlaneNumber = planeNumber;
                break;

            case 2:
                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 5;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 4;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 3;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }
                break;

            case 3:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 2;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 5;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 4;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;

            case 4:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 3;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 2;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 5;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;

            case 5:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 2;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 3;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 4;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;

            case 6:
                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 8;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 9;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 7;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }
                break;

            case 7:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 8;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 9;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 6;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;

            case 8:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 8;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 6;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 9;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;

            case 9:

                if (numberOfTimes % 8 == 1 || numberOfTimes % 8 == 5)
                {
                    newPlaneNumber = 7;
                }
                else if (numberOfTimes % 8 == 2 || numberOfTimes % 8 == 6)
                {
                    newPlaneNumber = 8;
                }
                else if (numberOfTimes % 8 == 3 || numberOfTimes % 8 == 7)
                {
                    newPlaneNumber = 6;
                }
                else if (numberOfTimes % 8 == 4 || numberOfTimes % 8 == 0)
                {
                    newPlaneNumber = planeNumber;
                }

                break;
            }

            return(new R3Plane(planeCentre, planeNumber, numberOfPlanes));
        }
 public CircularTwelventhLetter(R3Point startingPoint, char letter, int letterDirection, R3Plane onPlane, bool smaller, Dictionary <int, int> duration)
 {
 }
 public CircularSeventheenthDirection(R3Point startingPoint, int direction, float directionLength, float directionDivisor, List <bool> canShootList)
 {
 }
 public R3Plane DealWith9PlanesReflection(int[] axisIndeces, int numberOfTimes, R3Point planeCentre, int planeNumber, NumberOFPlanes numberOfPlanes)
 {
     throw new NotImplementedException();
 }
 public R3Plane(R3Point planeCenter, int planeNumber)
     : base(planeCenter.Position, 3, planeNumber)
 {
     numberOfPlanes = NumberOFPlanes.Nine_Planes;
 }
 public R3Plane ReflectAboutAxis(int axisIndex, R3Point planeCentre, int planeNumber)
 {
     throw new NotImplementedException();
 }
Beispiel #20
0
        public ThirtheenthPlanePerspective(R3Point planeCenter, int planeNumber)

        {
        }