Commit 69d6daca authored by Guillaume Pasero's avatar Guillaume Pasero

REFAC: remove various deprecated functions

parent 0e2b28b8
......@@ -176,14 +176,6 @@ public:
itkGetMacro(UseDivision, bool);
itkGetMacro(UseSubtraction, bool);
/** THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. */
virtual bool GetUseSubstraction()
{
otbWarningMacro(
<< "GetUseSubstraction has been deprecated. Please use GetUseSubtraction() instead");
return GetUseSubtraction();
}
void UseAddition()
{
m_UseAddition = true;
......
......@@ -61,13 +61,6 @@ public:
/** Parse a filename with additional information */
static bool ParseFileNameForAdditionalInfo(const std::string& id, std::string& file, unsigned int& addNum);
/** THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. use
* ParseFileNameForAdditionalInfo instead*/
static bool ParseFileNameForAdditonalInfo (const std::string& id, std::string& file, unsigned int& addNum)
{
return ParseFileNameForAdditionalInfo(id, file, addNum);
}
};
} // namespace otb
......
......@@ -122,16 +122,6 @@ public:
*/
virtual double GetArea() const;
/**
* Return the polygon area.
* \return The area.
* \deprecated
*/
virtual double GetSurface() const
{
return this->GetArea();
}
/**
* Return the polygon length (perimeter).
* \return The length.
......
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