Changeset 213 in pacpusframework for trunk/include


Ignore:
Timestamp:
11/06/13 14:44:39 (11 years ago)
Author:
Marek Kurdej
Message:

Update: Geodesie.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/PacpusTools/geodesie.h

    r212 r213  
    2121
    2222#include <boost/math/constants/constants.hpp>
     23#include <boost/operators.hpp>
    2324#include <cmath>
    2425#include <iostream>
     
    3637/// @todo Rewrite!
    3738struct PACPUSTOOLS_API Matrice
     39    : boost::multipliable<Matrice>
    3840{
    3941    /// Copy ctor
     
    4143    /// Ctor
    4244    Matrice();
     45    /// Ctor
     46    Matrice(
     47        double l0c0, double l0c1, double l0c2,
     48        double l1c0, double l1c1, double l1c2,
     49        double l2c0, double l2c1, double l2c2
     50    );
     51
    4352    /// @todo Documentation
    4453    void Apply(double v0, double v1, double v2, double& Mv0, double& Mv1, double& Mv2);
     54
     55    Matrice& operator*=(Matrice const& other);
    4556
    4657    /// @todo Documentation
     
    6778
    6879PACPUSTOOLS_API Matrice TransMat(Matrice const& A);
    69 PACPUSTOOLS_API Matrice ProdMat(Matrice const& A, Matrice const& B);
     80PACPUSTOOLS_API PACPUS_DEPRECATED_MSG(Matrice ProdMat(Matrice const& A, Matrice const& B), "use Matrice::operator *");
    7081PACPUSTOOLS_API PACPUS_DEPRECATED_MSG(void Write(Matrice const& A, std::ostream& out), "use operator<<");
    7182PACPUSTOOLS_API std::ostream& operator<<(std::ostream& os, Matrice const& A);
Note: See TracChangeset for help on using the changeset viewer.