Ejemplo n.º 1
0
        public static TMat3x3 operator *(double k, TMat3x3 m)
        {
            TMat3x3 m33 = new TMat3x3();

            for (int i = 0; i < 3; ++i)
            {
                for (int j = 0; j < 3; ++j)
                {
                    m33[i, j] = k * m[i, j];
                }
            }
            return(m33);
        }
Ejemplo n.º 2
0
        public static TMat3x3 operator *(TMat3x3 b, TMat3x3 a)
        {
            TMat3x3 m = new TMat3x3();

            for (int i = 0; i < 3; ++i)
            {
                for (int j = 0; j < 3; ++j)
                {
                    for (int k = 0; k < 3; ++k)
                    {
                        m[i, j] += b[i, k] * a[k, j];
                    }
                }
            }
            return(m);
        }
Ejemplo n.º 3
0
		public static TMat3x3 operator *(double k, TMat3x3 m)
		{
			TMat3x3 m33 = new TMat3x3();
			for (int i = 0; i < 3; ++i)
			{
				for (int j = 0; j < 3; ++j)
					m33[i, j] = k * m[i, j];
			}
			return m33;
		}
Ejemplo n.º 4
0
		public static TMat3x3 operator *(TMat3x3 b, TMat3x3 a)
		{
			TMat3x3 m = new TMat3x3();
			for (int i = 0; i < 3; ++i)
			{
				for (int j = 0; j < 3; ++j)
				{
					for (int k = 0; k < 3; ++k)
						m[i, j] += b[i, k] * a[k, j];
				}
			}
			return m;
		}
Ejemplo n.º 5
0
		static TView()
		{
			TView.rQFoIpIoe9 = (TMat3x3)new TMat3x3Diagonal(1.0, -1.0, 1.0);
			TView.miCoqACXHl = (TMat3x3)new TExchangeYZ();
			TView.R8ootJZDc1 = TView.rQFoIpIoe9 * TView.miCoqACXHl;
		}
Ejemplo n.º 6
0
		public void SetProjectionSpecial(double AngleXY, double ViewAngle)
		{
			this.QaLoUk71gW = (TMat3x3)new TRotZ(AngleXY);
			this.QaLoUk71gW = (TMat3x3)new TSpecialProjection(ViewAngle) * this.QaLoUk71gW;
			this.E6Oo4awtTa = TView.R8ootJZDc1 * this.QaLoUk71gW;
		}
Ejemplo n.º 7
0
        public override bool Equals(object obj)
        {
            TMat3x3 that = (TMat3x3)obj;

            return(that.xx == this.xx && that.xy == this.xy && that.xz == this.xz && that.yx == this.yx && that.yy == this.yy && that.yz == this.xz && that.zx == this.zx && that.zy == this.zy && that.zz == this.xz);
        }
Ejemplo n.º 8
0
 static TView()
 {
     TView.rQFoIpIoe9 = (TMat3x3) new TMat3x3Diagonal(1.0, -1.0, 1.0);
     TView.miCoqACXHl = (TMat3x3) new TExchangeYZ();
     TView.R8ootJZDc1 = TView.rQFoIpIoe9 * TView.miCoqACXHl;
 }
Ejemplo n.º 9
0
 public void SetProjectionSpecial(double AngleXY, double ViewAngle)
 {
     this.QaLoUk71gW = (TMat3x3) new TRotZ(AngleXY);
     this.QaLoUk71gW = (TMat3x3) new TSpecialProjection(ViewAngle) * this.QaLoUk71gW;
     this.E6Oo4awtTa = TView.R8ootJZDc1 * this.QaLoUk71gW;
 }