From 94d2da589194b92a2e7e304658ab3924ac7dca67 Mon Sep 17 00:00:00 2001 From: jmmuller Date: Thu, 26 Sep 2024 13:36:51 +0200 Subject: [PATCH] topo: add station param names --- MMVII/src/Topo/ctopoobsset.cpp | 9 +++++++++ MMVII/src/Topo/ctopoobsset.h | 1 + 2 files changed, 10 insertions(+) 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;