Exemplo n.º 1
0
        public Polygon Rotate(RotateMatrix rot)
        {
            int count = 0;

            Vector[] retVec = new Vector[Len];
            foreach (Vector vec in vectors)
            {
                retVec[count++] = vec.Rotate(rot);
            }
            return(new Polygon(ZVal, Zero, retVec));
        }
Exemplo n.º 2
0
        public Shape3D Rotate(RotateMatrix mat)
        {
            int count = 0;

            Polygon[] newP = new Polygon[poly.Length];
            foreach (Polygon p in poly)
            {
                newP[count++] = p.Rotate(mat);
            }
            return(new Shape3D(newP));
        }
Exemplo n.º 3
0
        //public object Clone()

        public Vector Rotate(RotateMatrix rot)
        {
            return((Vector)rot.Rotate(this));
        }