QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
QgsPointCompare Class Reference

Public Member Functions

 QgsPointCompare (double tolerance)
 
bool operator() (const QgsPoint &p1, const QgsPoint &p2) const
 

Private Attributes

double mTolerance
 

Detailed Description

Definition at line 35 of file qgslinevectorlayerdirector.cpp.

Constructor & Destructor Documentation

QgsPointCompare::QgsPointCompare ( double  tolerance)
inline

Definition at line 38 of file qgslinevectorlayerdirector.cpp.

Member Function Documentation

bool QgsPointCompare::operator() ( const QgsPoint p1,
const QgsPoint p2 
) const
inline

Definition at line 42 of file qgslinevectorlayerdirector.cpp.

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

Member Data Documentation

double QgsPointCompare::mTolerance
private

Definition at line 55 of file qgslinevectorlayerdirector.cpp.

Referenced by operator()().


The documentation for this class was generated from the following file: