QGIS API Documentation  2.5.0-Master
 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. More...
 
double mTolerance
 The snapping tolerances for the layers, always in source coordinate systems of the layer. More...
 
QgsSnapper::SnappingType mSnapTo
 What snapping type to use (snap to segment or to vertex) More...
 
QgsTolerance::UnitType mUnitType
 What unit is used for tolerance. More...
 

Detailed Description

Definition at line 85 of file qgssnapper.h.

Member Data Documentation

QgsVectorLayer* QgsSnapper::SnapLayer::mLayer

The layer to which snapping is applied.

Definition at line 88 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 92 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 90 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 94 of file qgssnapper.h.

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


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