26#ifndef __TERRALIB_GEOMETRY_INTERNAL_TRANSLATIONGT_H
27#define __TERRALIB_GEOMETRY_INTERNAL_TRANSLATIONGT_H
66 const double& pt1Y,
double& pt2X,
double& pt2Y )
const;
69 const double& pt2Y,
double& pt1X,
double& pt1Y )
const;
2D Geometric transformation parameters.
2D translation(X,Y) Geometric transformation.
void inverseMap(const GTParameters ¶ms, const double &pt2X, const double &pt2Y, double &pt1X, double &pt1Y) const
Inverse mapping (from pt2 space into pt1 space).
bool isValid(const GTParameters ¶ms) const
Verifies if the supplied parameters already has a valid transformation.
TranslationGT()
Default constructor.
unsigned int getMinRequiredTiePoints() const
Returns the minimum number of required tie-points for the current transformation.
double m_computeParameters_diffY
double m_computeParameters_meanDiffY
bool computeParameters(GTParameters ¶ms) const
Calculate the transformation parameters following the new supplied tie-points.
const std::string & getName() const
Returns the current transformation name.
void directMap(const GTParameters ¶ms, const double &pt1X, const double &pt1Y, double &pt2X, double &pt2Y) const
Direct mapping (from pt1 space into pt2 space).
~TranslationGT()
Destructor.
std::size_t m_computeParameters_tiepointsSize
double m_computeParameters_meanDiffX
double m_computeParameters_diffX
std::size_t m_computeParameters_tpIdx
GeometricTransformation * clone() const
Creat a clone copy of this instance.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).