QGIS API Documentation  2.2.0-Valmiera
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
qgspoint.h File Reference
#include <qgis.h>
#include <iostream>
#include <QString>
#include <QPoint>
Include dependency graph for qgspoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsVector
 A class to represent a vector. More...
class  QgsPoint
 A class to represent a point geometry. More...

Functions

bool operator== (const QgsPoint &p1, const QgsPoint &p2)
std::ostream & operator<< (std::ostream &os, const QgsPoint &p)
uint qHash (const QgsPoint &p)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const QgsPoint p 
)
inline

Definition at line 209 of file qgspoint.h.

References QgsPoint::toString().

bool operator== ( const QgsPoint p1,
const QgsPoint p2 
)
inline

Definition at line 201 of file qgspoint.h.

References QgsPoint::x(), and QgsPoint::y().

uint qHash ( const QgsPoint p)
inline

Definition at line 216 of file qgspoint.h.

References QgsPoint::m_x, and QgsPoint::m_y.