Get rid of more QgsMapToPixel refs

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2543 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-12-30 11:43:20 +00:00
parent 54b9562524
commit b78357ada3

View File

@ -25,7 +25,6 @@
#include <cpl_error.h>
class QgsPoint;
class QPoint;
class QString;
/*! \class QgsCoordinateTransform
@ -85,16 +84,16 @@ inline QgsCoordinateTransform::QgsCoordinateTransform( QString theSourceWKT, QSt
//Searchf for this phrase in each wkt: "unit[\"degree\""
}
inline QgsMapToPixel::~QgsMapToPixel()
inline QgsCoordinateTransform::~QgsCoordinateTransform()
{
delete gSourceToDestXForm;
}
inline QgsPoint QgsMapToPixel::transform(double x, double y)
inline QgsPoint QgsCoordinateTransform::transform(double x, double y)
{
return (transform(QgsPoint(x, y)));
}
inline QgsPoint QgsMapToPixel::transform(QgsPoint thePoint) throws QgsCsException
inline QgsPoint QgsCoordinateTransform::transform(QgsPoint thePoint) throws QgsCsException
{
// transform x
double x = thePoint.x();
@ -109,7 +108,7 @@ inline QgsPoint QgsMapToPixel::transform(QgsPoint thePoint) throws QgsCsExceptio
return QgsPoint(x, y);
}
}
inline QgsPoint QgsMapToPixel::transform(double theX, double theY)
inline QgsPoint QgsCoordinateTransform::transform(double theX, double theY)
{
// transform x
double x = theX;