Commit a0d54968 authored by Julien Osman's avatar Julien Osman

BUG: Update SWIG definition of the GCP class

parent 5837b561
......@@ -161,7 +161,7 @@ public:
// TODO : finish wrapping
};
class OTB_GCP
class GCP
{
public:
std::string m_Id;
......@@ -171,8 +171,7 @@ public:
double m_GCPX;
double m_GCPY;
double m_GCPZ;
OTB_GCP();
~OTB_GCP();
GCP();
void Print(std::ostream& os) const;
};
......@@ -1023,11 +1022,11 @@ public:
otb::Wrapper::MetaDataHelper::SetDouble(* $self,key,val);
}
otb::OTB_GCP GetGCP(const std::string &key)
otb::GCP GetGCP(const std::string &key)
{
return otb::Wrapper::MetaDataHelper::GetGCP(* $self,key);
}
void SetGCP(const std::string &key, const otb::OTB_GCP &val)
void SetGCP(const std::string &key, const otb::GCP &val)
{
otb::Wrapper::MetaDataHelper::SetGCP(* $self,key,val);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment