Example #1
0
 public void Set(ref QEFData rhs)
 {
     Set(rhs.ata_00, rhs.ata_01, rhs.ata_02, rhs.ata_11, rhs.ata_12,
         rhs.ata_22, rhs.atb_x, rhs.atb_y, rhs.atb_z, rhs.btb,
         rhs.massPoint_x, rhs.massPoint_y, rhs.massPoint_z,
         rhs.numPoints);
 }
Example #2
0
 public QEFSolver()
 {
     data        = new QEFData();
     ata         = new SMat3();
     atb         = new Vector3();
     MassPoint   = new Vector3();
     x           = new Vector3();
     hasSolution = false;
 }
Example #3
0
 public void Add(ref QEFData rhs)
 {
     ata_00      += rhs.ata_00;
     ata_01      += rhs.ata_01;
     ata_02      += rhs.ata_02;
     ata_11      += rhs.ata_11;
     ata_12      += rhs.ata_12;
     ata_22      += rhs.ata_22;
     atb_x       += rhs.atb_x;
     atb_y       += rhs.atb_y;
     atb_z       += rhs.atb_z;
     btb         += rhs.btb;
     massPoint_x += rhs.massPoint_x;
     massPoint_y += rhs.massPoint_y;
     massPoint_z += rhs.massPoint_z;
     numPoints   += rhs.numPoints;
 }
Example #4
0
 public void Add(ref QEFData rhs)
 {
     hasSolution = false;
     data.Add(ref rhs);
 }