Skip to content
Snippets Groups Projects
Commit 3dd4d5b1 authored by Julien Michel's avatar Julien Michel
Browse files

WRG: Renaming SetParameters method to SetAllParameters to avoid shadowing of base class method

parent 3eef9ca9
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
void SetFalseNorthing(double falseNorthing); void SetFalseNorthing(double falseNorthing);
double GetFalseNorthing() const; double GetFalseNorthing() const;
double GetFalseEasting() const; double GetFalseEasting() const;
void SetParameters(double parallel1Degree, double parallel2Degree, void SetAllParameters(double parallel1Degree, double parallel2Degree,
double falseEasting, double falseNorthing); double falseEasting, double falseNorthing);
protected: protected:
......
...@@ -81,7 +81,7 @@ void LambertConformalConicMapProjection<TTransform> ...@@ -81,7 +81,7 @@ void LambertConformalConicMapProjection<TTransform>
/// Set the parameters /// Set the parameters
template <TransformDirection::TransformationDirection TTransform> template <TransformDirection::TransformationDirection TTransform>
void LambertConformalConicMapProjection<TTransform> void LambertConformalConicMapProjection<TTransform>
::SetParameters(double parallel1Degree, double parallel2Degree, double falseEasting, double falseNorthing) ::SetAllParameters(double parallel1Degree, double parallel2Degree, double falseEasting, double falseNorthing)
{ {
this->SetParameter("StandardParallel1", Utils::ConvertToString(parallel1Degree)); this->SetParameter("StandardParallel1", Utils::ConvertToString(parallel1Degree));
this->SetParameter("StandardParallel2", Utils::ConvertToString(parallel2Degree)); this->SetParameter("StandardParallel2", Utils::ConvertToString(parallel2Degree));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment