diff --git a/MMVII/src/Topo/ctopoobsset.cpp b/MMVII/src/Topo/ctopoobsset.cpp index bf885d7b1..926e48ada 100644 --- a/MMVII/src/Topo/ctopoobsset.cpp +++ b/MMVII/src/Topo/ctopoobsset.cpp @@ -112,6 +112,15 @@ void cTopoObsSetStation::PushRotObs(std::vector & aVObs) const getRotSysCo2Instr().Mat().PushByCol(aVObs); } +void cTopoObsSetStation::GetAdrInfoParam(cGetAdrInfoParam & aGAIP) +{ + aGAIP.SetNameType("Station"); + aGAIP.SetIdObj(mOriginName); + aGAIP.TestParam(this, &(mParams[0]) ,"Wx"); + aGAIP.TestParam(this, &(mParams[1]) ,"Wy"); + aGAIP.TestParam(this, &(mParams[2]) ,"Wz"); +} + std::string cTopoObsSetStation::toString() const { std::ostringstream oss; diff --git a/MMVII/src/Topo/ctopoobsset.h b/MMVII/src/Topo/ctopoobsset.h index 1b520a17a..a75f68835 100644 --- a/MMVII/src/Topo/ctopoobsset.h +++ b/MMVII/src/Topo/ctopoobsset.h @@ -74,6 +74,7 @@ class cTopoObsSetStation : public cTopoObsSet virtual std::string toString() const override; void makeConstraints(cResolSysNonLinear &aSys) override; virtual bool initialize() override; ///< initialize rotation + void GetAdrInfoParam(cGetAdrInfoParam & aGAIP) override; void setOrigin(std::string _OriginName); void PushRotObs(std::vector & aVObs) const;