Changeset 213 in pacpusframework for trunk/src/PacpusTools


Ignore:
Timestamp:
Nov 6, 2013, 2:44:39 PM (11 years ago)
Author:
Marek Kurdej
Message:

Update: Geodesie.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusTools/src/geodesie.cpp

    r212 r213  
    6565    Mv1 = c0_l1 * v0 + c1_l1 * v1 + c2_l1 * v2;
    6666    Mv2 = c0_l2 * v0 + c1_l2 * v1 + c2_l2 * v2;
     67}
     68
     69Matrice& Matrice::operator*=(Matrice const& other)
     70{
     71    // TODO: optimize
     72    *this = ProdMat(*this, other);
     73    return *this;
    6774}
    6875
     
    301308    passage.c2_l2 = 1.0;
    302309
    303     out = ProdMat(passage, in);
     310    out = passage * in;
    304311    double diff_h;
    305312    raf98.Interpol(Rad2Deg(lambda), Rad2Deg(phi), &diff_h);
     
    369376    passage.c2_l2 = 1.0;
    370377
    371     out = ProdMat(passage, in);
     378    out = passage * in;
    372379
    373380    double diff_h;
Note: See TracChangeset for help on using the changeset viewer.