QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
QgsSnapper::SnapLayer Struct Reference

#include <qgssnapper.h>

Collaboration diagram for QgsSnapper::SnapLayer:
Collaboration graph
[legend]

Public Attributes

QgsVectorLayermLayer
 The layer to which snapping is applied.
double mTolerance
 The snapping tolerances for the layers, always in source coordinate systems of the layer.
QgsSnapper::SnappingType mSnapTo
 What snapping type to use (snap to segment or to vertex)
QgsTolerance::UnitType mUnitType
 What unit is used for tolerance.

Detailed Description

Definition at line 84 of file qgssnapper.h.

Member Data Documentation

QgsVectorLayer* QgsSnapper::SnapLayer::mLayer

The layer to which snapping is applied.

Definition at line 87 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().

QgsSnapper::SnappingType QgsSnapper::SnapLayer::mSnapTo

What snapping type to use (snap to segment or to vertex)

Definition at line 91 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().

double QgsSnapper::SnapLayer::mTolerance

The snapping tolerances for the layers, always in source coordinate systems of the layer.

Definition at line 89 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().

QgsTolerance::UnitType QgsSnapper::SnapLayer::mUnitType

What unit is used for tolerance.

Definition at line 93 of file qgssnapper.h.

Referenced by QgsMapCanvasSnapper::snapToBackgroundLayers(), and QgsMapCanvasSnapper::snapToCurrentLayer().


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