QGIS API Documentation  2.14.0-Essen
Public Member Functions | Public Attributes | List of all members
QgsSnappingUtils::LayerConfig Struct Reference

Configures how a certain layer should be handled in a snapping operation. More...

#include <qgssnappingutils.h>

Public Member Functions

 LayerConfig (QgsVectorLayer *l, const QgsPointLocator::Types &t, double tol, QgsTolerance::UnitType u)
 
bool operator!= (const LayerConfig &other) const
 
bool operator== (const LayerConfig &other) const
 

Public Attributes

QgsVectorLayerlayer
 The layer to configure. More...
 
double tolerance
 The range around snapping targets in which snapping should occur. More...
 
QgsPointLocator::Types type
 To which geometry properties of this layers a snapping should happen. More...
 
QgsTolerance::UnitType unit
 The units in which the tolerance is specified. More...
 

Detailed Description

Configures how a certain layer should be handled in a snapping operation.

Definition at line 106 of file qgssnappingutils.h.

Constructor & Destructor Documentation

QgsSnappingUtils::LayerConfig::LayerConfig ( QgsVectorLayer l,
const QgsPointLocator::Types &  t,
double  tol,
QgsTolerance::UnitType  u 
)
inline

Definition at line 108 of file qgssnappingutils.h.

Member Function Documentation

bool QgsSnappingUtils::LayerConfig::operator!= ( const LayerConfig other) const
inline

Definition at line 114 of file qgssnappingutils.h.

bool QgsSnappingUtils::LayerConfig::operator== ( const LayerConfig other) const
inline

Definition at line 110 of file qgssnappingutils.h.

Member Data Documentation

QgsVectorLayer* QgsSnappingUtils::LayerConfig::layer

The layer to configure.

Definition at line 120 of file qgssnappingutils.h.

double QgsSnappingUtils::LayerConfig::tolerance

The range around snapping targets in which snapping should occur.

Definition at line 124 of file qgssnappingutils.h.

QgsPointLocator::Types QgsSnappingUtils::LayerConfig::type

To which geometry properties of this layers a snapping should happen.

Definition at line 122 of file qgssnappingutils.h.

QgsTolerance::UnitType QgsSnappingUtils::LayerConfig::unit

The units in which the tolerance is specified.

Definition at line 126 of file qgssnappingutils.h.


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