Quantum GIS API Documentation  1.8
Public Member Functions | Private Attributes
QgsPointCompare Class Reference

List of all members.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines