Add a function to set x and y coords in the one call

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3099 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
g_j_m 2005-04-08 23:33:57 +00:00
parent 6447d251e7
commit 7170f5c417

View File

@ -59,6 +59,12 @@ class QgsPoint
m_y = y;
}
/*! Sets the x and y value of the point */
void set(double x, double y)
{
m_x = x;
m_y = y;
}
/*! Get the x value of the point
* @return x coordinate