public static Quality operator *(Quality q0, double multi)
 {
     var q = new Quality();
     var mat = q.matrix;
     var mq0 = q0.matrix;
     for (var i = 0; i < mat.Length; i++)
         mat[i] = multi * mq0[i];
     return q;
 }
 public static Quality operator +(Quality q0, Quality q1)
 {
     var q = new Quality();
     var mat = q.matrix;
     var mq0 = q0.matrix;
     var mq1 = q1.matrix;
     for (var i = 0; i < mat.Length; i++)
         mat[i] = mq0[i] + mq1[i];
     return q;
 }
Beispiel #3
0
 public VertexInfo(int vertexIndex)
 {
     this.iVertex = vertexIndex;
     this.quad    = new Quality();
 }